The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-snapshot-testing, reference 1.17.5 (7b0bbb), with Swift 6.1 for macOS (SPM) on 10 Feb 2026 01:35:24 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

425 |             XCTContext.runActivity(named: "Attached Failure Diff") { activity in
426 |               attachments.forEach {
    |               |- warning: sending 'attachments' risks causing data races; this is an error in the Swift 6 language mode
    |               `- note: 'attachments' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
427 |                 activity.add($0)
428 |               }
    :
445 |
446 |       if record == .failed {
447 |         try recordSnapshot()
    |             `- note: access can happen concurrently
448 |         failureMessage += " A new snapshot was automatically recorded."
449 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSImage.swift:7:23: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'Diffing<NSImage>' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |   extension Diffing where Value == NSImage {
  6 |     /// A pixel-diffing strategy for NSImage's which requires a 100% match.
  7 |     public static let image = Diffing.image()
    |                       |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'Diffing<NSImage>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     /// A pixel-diffing strategy for NSImage that allows customizing how precise the matching must be.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:5:15: note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 3 |
 4 | /// The ability to compare `Value`s and convert them to and from `Data`.
 5 | public struct Diffing<Value> {
   |               `- note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 6 |   /// Converts a value _to_ data.
 7 |   public var toData: (Value) -> Data
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:29:32: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 |         precision: precision, perceptualPrecision: perceptualPrecision
28 |       ).asyncPullback { view in
29 |         let initialSize = view.frame.size
   |                                `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:30:35: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
28 |       ).asyncPullback { view in
29 |         let initialSize = view.frame.size
30 |         if let size = size { view.frame.size = size }
   |                                   `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:31:20: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |         let initialSize = view.frame.size
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
   |                    `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
33 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:31:42: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |         let initialSize = view.frame.size
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
   |                                          `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
33 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:32:67: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
   |                                                                   `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
33 |         }
34 |         return view.snapshot
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:34:21: warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
33 |         }
34 |         return view.snapshot
   |                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 |           ?? Async { callback in
36 |             addImagesForRenderedViews(view).sequence().run { views in
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:834:9: note: property declared here
 832 |
 833 |   extension View {
 834 |     var snapshot: Async<Image>? {
     |         `- note: property declared here
 835 |       func inWindow<T>(_ perform: () -> T) -> T {
 836 |         #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:37:36: warning: call to main actor-isolated instance method 'bitmapImageRepForCachingDisplay(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |           ?? Async { callback in
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
   |                                    `- warning: call to main actor-isolated instance method 'bitmapImageRepForCachingDisplay(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
39 |               let image = NSImage(size: view.bounds.size)
AppKit.NSView.bitmapImageRepForCachingDisplay:2:22: note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func bitmapImageRepForCachingDisplay(in rect: NSRect) -> NSBitmapImageRep?}
  |                      |- note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:37:77: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 |           ?? Async { callback in
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
   |                                                                             `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
39 |               let image = NSImage(size: view.bounds.size)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:38:20: warning: call to main actor-isolated instance method 'cacheDisplay(in:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
   |                    `- warning: call to main actor-isolated instance method 'cacheDisplay(in:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |               let image = NSImage(size: view.bounds.size)
40 |               image.addRepresentation(bitmapRep)
AppKit.NSView.cacheDisplay:2:22: note: calls to instance method 'cacheDisplay(in:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func cacheDisplay(in rect: NSRect, to bitmapImageRep: NSBitmapImageRep)}
  |                      |- note: calls to instance method 'cacheDisplay(in:to:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:38:42: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
   |                                          `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |               let image = NSImage(size: view.bounds.size)
40 |               image.addRepresentation(bitmapRep)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:39:46: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
39 |               let image = NSImage(size: view.bounds.size)
   |                                              `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |               image.addRepresentation(bitmapRep)
41 |               callback(image)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:42:34: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 |               image.addRepresentation(bitmapRep)
41 |               callback(image)
42 |               views.forEach { $0.removeFromSuperview() }
   |                                  `- warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |               view.frame.size = initialSize
44 |             }
AppKit.NSView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func removeFromSuperview()}
  |                      |- note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:43:20: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
41 |               callback(image)
42 |               views.forEach { $0.removeFromSuperview() }
43 |               view.frame.size = initialSize
   |                    `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
44 |             }
45 |           }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSViewController.swift:25:23: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
23 |       return Snapshotting<NSView, NSImage>.image(
24 |         precision: precision, perceptualPrecision: perceptualPrecision, size: size
25 |       ).pullback { $0.view }
   |                       `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
26 |     }
27 |   }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSViewController.swift:33:78: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 |     /// their properties and hierarchies.
32 |     public static var recursiveDescription: Snapshotting {
33 |       return Snapshotting<NSView, String>.recursiveDescription.pullback { $0.view }
   |                                                                              `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |   }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:38:20: warning: sending 'bitmapRep' risks causing data races; this is an error in the Swift 6 language mode
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
   |                    |- warning: sending 'bitmapRep' risks causing data races; this is an error in the Swift 6 language mode
   |                    `- note: sending 'bitmapRep' to main actor-isolated instance method 'cacheDisplay(in:to:)' risks causing data races between main actor-isolated and local nonisolated uses
39 |               let image = NSImage(size: view.bounds.size)
40 |               image.addRepresentation(bitmapRep)
   |                     `- note: access can happen concurrently
41 |               callback(image)
42 |               views.forEach { $0.removeFromSuperview() }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSImage.swift:7:23: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'Diffing<NSImage>' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |   extension Diffing where Value == NSImage {
  6 |     /// A pixel-diffing strategy for NSImage's which requires a 100% match.
  7 |     public static let image = Diffing.image()
    |                       |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'Diffing<NSImage>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     /// A pixel-diffing strategy for NSImage that allows customizing how precise the matching must be.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:5:15: note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 3 |
 4 | /// The ability to compare `Value`s and convert them to and from `Data`.
 5 | public struct Diffing<Value> {
   |               `- note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 6 |   /// Converts a value _to_ data.
 7 |   public var toData: (Value) -> Data
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:29:32: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 |         precision: precision, perceptualPrecision: perceptualPrecision
28 |       ).asyncPullback { view in
29 |         let initialSize = view.frame.size
   |                                `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:30:35: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
28 |       ).asyncPullback { view in
29 |         let initialSize = view.frame.size
30 |         if let size = size { view.frame.size = size }
   |                                   `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:31:20: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |         let initialSize = view.frame.size
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
   |                    `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
33 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:31:42: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |         let initialSize = view.frame.size
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
   |                                          `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
33 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:32:67: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
   |                                                                   `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
33 |         }
34 |         return view.snapshot
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:34:21: warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
33 |         }
34 |         return view.snapshot
   |                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 |           ?? Async { callback in
36 |             addImagesForRenderedViews(view).sequence().run { views in
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:834:9: note: property declared here
 832 |
 833 |   extension View {
 834 |     var snapshot: Async<Image>? {
     |         `- note: property declared here
 835 |       func inWindow<T>(_ perform: () -> T) -> T {
 836 |         #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:37:36: warning: call to main actor-isolated instance method 'bitmapImageRepForCachingDisplay(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |           ?? Async { callback in
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
   |                                    `- warning: call to main actor-isolated instance method 'bitmapImageRepForCachingDisplay(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
39 |               let image = NSImage(size: view.bounds.size)
AppKit.NSView.bitmapImageRepForCachingDisplay:2:22: note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func bitmapImageRepForCachingDisplay(in rect: NSRect) -> NSBitmapImageRep?}
  |                      |- note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:37:77: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 |           ?? Async { callback in
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
   |                                                                             `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
39 |               let image = NSImage(size: view.bounds.size)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:38:20: warning: call to main actor-isolated instance method 'cacheDisplay(in:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
   |                    `- warning: call to main actor-isolated instance method 'cacheDisplay(in:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |               let image = NSImage(size: view.bounds.size)
40 |               image.addRepresentation(bitmapRep)
AppKit.NSView.cacheDisplay:2:22: note: calls to instance method 'cacheDisplay(in:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func cacheDisplay(in rect: NSRect, to bitmapImageRep: NSBitmapImageRep)}
  |                      |- note: calls to instance method 'cacheDisplay(in:to:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:38:42: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
   |                                          `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |               let image = NSImage(size: view.bounds.size)
40 |               image.addRepresentation(bitmapRep)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:39:46: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
39 |               let image = NSImage(size: view.bounds.size)
   |                                              `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |               image.addRepresentation(bitmapRep)
41 |               callback(image)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:42:34: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 |               image.addRepresentation(bitmapRep)
41 |               callback(image)
42 |               views.forEach { $0.removeFromSuperview() }
   |                                  `- warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |               view.frame.size = initialSize
44 |             }
AppKit.NSView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func removeFromSuperview()}
  |                      |- note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:43:20: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
41 |               callback(image)
42 |               views.forEach { $0.removeFromSuperview() }
43 |               view.frame.size = initialSize
   |                    `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
44 |             }
45 |           }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSViewController.swift:25:23: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
23 |       return Snapshotting<NSView, NSImage>.image(
24 |         precision: precision, perceptualPrecision: perceptualPrecision, size: size
25 |       ).pullback { $0.view }
   |                       `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
26 |     }
27 |   }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSViewController.swift:33:78: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 |     /// their properties and hierarchies.
32 |     public static var recursiveDescription: Snapshotting {
33 |       return Snapshotting<NSView, String>.recursiveDescription.pullback { $0.view }
   |                                                                              `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |   }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:38:20: warning: sending 'bitmapRep' risks causing data races; this is an error in the Swift 6 language mode
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
   |                    |- warning: sending 'bitmapRep' risks causing data races; this is an error in the Swift 6 language mode
   |                    `- note: sending 'bitmapRep' to main actor-isolated instance method 'cacheDisplay(in:to:)' risks causing data races between main actor-isolated and local nonisolated uses
39 |               let image = NSImage(size: view.bounds.size)
40 |               image.addRepresentation(bitmapRep)
   |                     `- note: access can happen concurrently
41 |               callback(image)
42 |               views.forEach { $0.removeFromSuperview() }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSImage.swift:7:23: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'Diffing<NSImage>' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |   extension Diffing where Value == NSImage {
  6 |     /// A pixel-diffing strategy for NSImage's which requires a 100% match.
  7 |     public static let image = Diffing.image()
    |                       |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'Diffing<NSImage>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     /// A pixel-diffing strategy for NSImage that allows customizing how precise the matching must be.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:5:15: note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 3 |
 4 | /// The ability to compare `Value`s and convert them to and from `Data`.
 5 | public struct Diffing<Value> {
   |               `- note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 6 |   /// Converts a value _to_ data.
 7 |   public var toData: (Value) -> Data
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:29:32: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 |         precision: precision, perceptualPrecision: perceptualPrecision
28 |       ).asyncPullback { view in
29 |         let initialSize = view.frame.size
   |                                `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:30:35: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
28 |       ).asyncPullback { view in
29 |         let initialSize = view.frame.size
30 |         if let size = size { view.frame.size = size }
   |                                   `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:31:20: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |         let initialSize = view.frame.size
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
   |                    `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
33 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:31:42: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |         let initialSize = view.frame.size
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
   |                                          `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
33 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:32:67: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
30 |         if let size = size { view.frame.size = size }
31 |         guard view.frame.width > 0, view.frame.height > 0 else {
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
   |                                                                   `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
33 |         }
34 |         return view.snapshot
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:34:21: warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |           fatalError("View not renderable to image at size \(view.frame.size)")
33 |         }
34 |         return view.snapshot
   |                     `- warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 |           ?? Async { callback in
36 |             addImagesForRenderedViews(view).sequence().run { views in
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:834:9: note: property declared here
 832 |
 833 |   extension View {
 834 |     var snapshot: Async<Image>? {
     |         `- note: property declared here
 835 |       func inWindow<T>(_ perform: () -> T) -> T {
 836 |         #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:37:36: warning: call to main actor-isolated instance method 'bitmapImageRepForCachingDisplay(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |           ?? Async { callback in
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
   |                                    `- warning: call to main actor-isolated instance method 'bitmapImageRepForCachingDisplay(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
39 |               let image = NSImage(size: view.bounds.size)
AppKit.NSView.bitmapImageRepForCachingDisplay:2:22: note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func bitmapImageRepForCachingDisplay(in rect: NSRect) -> NSBitmapImageRep?}
  |                      |- note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:37:77: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 |           ?? Async { callback in
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
   |                                                                             `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
39 |               let image = NSImage(size: view.bounds.size)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:38:20: warning: call to main actor-isolated instance method 'cacheDisplay(in:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
   |                    `- warning: call to main actor-isolated instance method 'cacheDisplay(in:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |               let image = NSImage(size: view.bounds.size)
40 |               image.addRepresentation(bitmapRep)
AppKit.NSView.cacheDisplay:2:22: note: calls to instance method 'cacheDisplay(in:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func cacheDisplay(in rect: NSRect, to bitmapImageRep: NSBitmapImageRep)}
  |                      |- note: calls to instance method 'cacheDisplay(in:to:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:38:42: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
   |                                          `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |               let image = NSImage(size: view.bounds.size)
40 |               image.addRepresentation(bitmapRep)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:39:46: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
39 |               let image = NSImage(size: view.bounds.size)
   |                                              `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |               image.addRepresentation(bitmapRep)
41 |               callback(image)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:42:34: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 |               image.addRepresentation(bitmapRep)
41 |               callback(image)
42 |               views.forEach { $0.removeFromSuperview() }
   |                                  `- warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |               view.frame.size = initialSize
44 |             }
AppKit.NSView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func removeFromSuperview()}
  |                      |- note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:43:20: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
41 |               callback(image)
42 |               views.forEach { $0.removeFromSuperview() }
43 |               view.frame.size = initialSize
   |                    `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
44 |             }
45 |           }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSViewController.swift:25:23: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
23 |       return Snapshotting<NSView, NSImage>.image(
24 |         precision: precision, perceptualPrecision: perceptualPrecision, size: size
25 |       ).pullback { $0.view }
   |                       `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
26 |     }
27 |   }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSViewController.swift:33:78: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 |     /// their properties and hierarchies.
32 |     public static var recursiveDescription: Snapshotting {
33 |       return Snapshotting<NSView, String>.recursiveDescription.pullback { $0.view }
   |                                                                              `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
34 |     }
35 |   }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift:38:20: warning: sending 'bitmapRep' risks causing data races; this is an error in the Swift 6 language mode
36 |             addImagesForRenderedViews(view).sequence().run { views in
37 |               let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
38 |               view.cacheDisplay(in: view.bounds, to: bitmapRep)
   |                    |- warning: sending 'bitmapRep' risks causing data races; this is an error in the Swift 6 language mode
   |                    `- note: sending 'bitmapRep' to main actor-isolated instance method 'cacheDisplay(in:to:)' risks causing data races between main actor-isolated and local nonisolated uses
39 |               let image = NSImage(size: view.bounds.size)
40 |               image.addRepresentation(bitmapRep)
   |                     `- note: access can happen concurrently
41 |               callback(image)
42 |               views.forEach { $0.removeFromSuperview() }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SceneKit.swift:52:20: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 |         precision: precision, perceptualPrecision: perceptualPrecision
51 |       ).pullback { scene in
52 |         let view = SCNView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
   |                    `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 |         view.scene = scene
54 |         return view
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
 81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
 82 |
 83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSView'
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SceneKit.swift:53:14: warning: main actor-isolated property 'scene' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
51 |       ).pullback { scene in
52 |         let view = SCNView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
53 |         view.scene = scene
   |              `- warning: main actor-isolated property 'scene' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |         return view
55 |       }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h:72:50: note: mutation of this property is only permitted within the actor
 70 |  @abstract Specifies the scene of the receiver
 71 |  */
 72 | @property(nonatomic, retain, nullable) SCNScene *scene;
    |                                                  `- note: mutation of this property is only permitted within the actor
 73 |
 74 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SpriteKit.swift:52:20: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 |         precision: precision, perceptualPrecision: perceptualPrecision
51 |       ).pullback { scene in
52 |         let view = SKView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
   |                    `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 |         view.presentScene(scene)
54 |         return view
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
 81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
 82 |
 83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSView'
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SpriteKit.swift:53:14: warning: call to main actor-isolated instance method 'presentScene' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |       ).pullback { scene in
52 |         let view = SKView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
53 |         view.presentScene(scene)
   |              `- warning: call to main actor-isolated instance method 'presentScene' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |         return view
55 |       }
SpriteKit.SKView.presentScene:2:22: note: calls to instance method 'presentScene' from outside of its actor context are implicitly asynchronous
1 | class SKView {
2 | @MainActor open func presentScene(_ scene: SKScene?)}
  |                      |- note: calls to instance method 'presentScene' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSView'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:6:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | extension Snapshotting where Value == String, Format == String {
 5 |   /// A snapshot strategy for comparing strings based on equality.
 6 |   public static let lines = Snapshotting(pathExtension: "txt", diffing: .lines)
   |                     |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 | }
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
  4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
  5 | /// text or an image) for snapshot testing.
  6 | public struct Snapshotting<Value, Format> {
    |               `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
  7 |   /// The path extension applied to references saved to disk.
  8 |   public var pathExtension: String?
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:11:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension Diffing where Value == String {
10 |   /// A line-diffing strategy for UTF-8 text.
11 |   public static let lines = Diffing(
   |                     |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     toData: { Data($0.utf8) },
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:5:15: note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 3 |
 4 | /// The ability to compare `Value`s and convert them to and from `Data`.
 5 | public struct Diffing<Value> {
   |               `- note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 6 |   /// Converts a value _to_ data.
 7 |   public var toData: (Value) -> Data
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SceneKit.swift:52:20: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 |         precision: precision, perceptualPrecision: perceptualPrecision
51 |       ).pullback { scene in
52 |         let view = SCNView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
   |                    `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 |         view.scene = scene
54 |         return view
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
 81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
 82 |
 83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSView'
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SceneKit.swift:53:14: warning: main actor-isolated property 'scene' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
51 |       ).pullback { scene in
52 |         let view = SCNView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
53 |         view.scene = scene
   |              `- warning: main actor-isolated property 'scene' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |         return view
55 |       }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h:72:50: note: mutation of this property is only permitted within the actor
 70 |  @abstract Specifies the scene of the receiver
 71 |  */
 72 | @property(nonatomic, retain, nullable) SCNScene *scene;
    |                                                  `- note: mutation of this property is only permitted within the actor
 73 |
 74 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SpriteKit.swift:52:20: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 |         precision: precision, perceptualPrecision: perceptualPrecision
51 |       ).pullback { scene in
52 |         let view = SKView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
   |                    `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 |         view.presentScene(scene)
54 |         return view
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
 81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
 82 |
 83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSView'
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SpriteKit.swift:53:14: warning: call to main actor-isolated instance method 'presentScene' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |       ).pullback { scene in
52 |         let view = SKView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
53 |         view.presentScene(scene)
   |              `- warning: call to main actor-isolated instance method 'presentScene' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |         return view
55 |       }
SpriteKit.SKView.presentScene:2:22: note: calls to instance method 'presentScene' from outside of its actor context are implicitly asynchronous
1 | class SKView {
2 | @MainActor open func presentScene(_ scene: SKScene?)}
  |                      |- note: calls to instance method 'presentScene' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSView'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:6:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | extension Snapshotting where Value == String, Format == String {
 5 |   /// A snapshot strategy for comparing strings based on equality.
 6 |   public static let lines = Snapshotting(pathExtension: "txt", diffing: .lines)
   |                     |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 | }
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
  4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
  5 | /// text or an image) for snapshot testing.
  6 | public struct Snapshotting<Value, Format> {
    |               `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
  7 |   /// The path extension applied to references saved to disk.
  8 |   public var pathExtension: String?
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:11:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension Diffing where Value == String {
10 |   /// A line-diffing strategy for UTF-8 text.
11 |   public static let lines = Diffing(
   |                     |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     toData: { Data($0.utf8) },
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:5:15: note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 3 |
 4 | /// The ability to compare `Value`s and convert them to and from `Data`.
 5 | public struct Diffing<Value> {
   |               `- note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 6 |   /// Converts a value _to_ data.
 7 |   public var toData: (Value) -> Data
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SceneKit.swift:52:20: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 |         precision: precision, perceptualPrecision: perceptualPrecision
51 |       ).pullback { scene in
52 |         let view = SCNView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
   |                    `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 |         view.scene = scene
54 |         return view
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
 81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
 82 |
 83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSView'
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SceneKit.swift:53:14: warning: main actor-isolated property 'scene' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
51 |       ).pullback { scene in
52 |         let view = SCNView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
53 |         view.scene = scene
   |              `- warning: main actor-isolated property 'scene' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |         return view
55 |       }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h:72:50: note: mutation of this property is only permitted within the actor
 70 |  @abstract Specifies the scene of the receiver
 71 |  */
 72 | @property(nonatomic, retain, nullable) SCNScene *scene;
    |                                                  `- note: mutation of this property is only permitted within the actor
 73 |
 74 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SpriteKit.swift:52:20: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 |         precision: precision, perceptualPrecision: perceptualPrecision
51 |       ).pullback { scene in
52 |         let view = SKView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
   |                    `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 |         view.presentScene(scene)
54 |         return view
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
 81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
 82 |
 83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSView'
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SpriteKit.swift:53:14: warning: call to main actor-isolated instance method 'presentScene' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |       ).pullback { scene in
52 |         let view = SKView(frame: .init(x: 0, y: 0, width: size.width, height: size.height))
53 |         view.presentScene(scene)
   |              `- warning: call to main actor-isolated instance method 'presentScene' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |         return view
55 |       }
SpriteKit.SKView.presentScene:2:22: note: calls to instance method 'presentScene' from outside of its actor context are implicitly asynchronous
1 | class SKView {
2 | @MainActor open func presentScene(_ scene: SKScene?)}
  |                      |- note: calls to instance method 'presentScene' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSView'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:6:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | extension Snapshotting where Value == String, Format == String {
 5 |   /// A snapshot strategy for comparing strings based on equality.
 6 |   public static let lines = Snapshotting(pathExtension: "txt", diffing: .lines)
   |                     |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 | }
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
  4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
  5 | /// text or an image) for snapshot testing.
  6 | public struct Snapshotting<Value, Format> {
    |               `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
  7 |   /// The path extension applied to references saved to disk.
  8 |   public var pathExtension: String?
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:11:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension Diffing where Value == String {
10 |   /// A line-diffing strategy for UTF-8 text.
11 |   public static let lines = Diffing(
   |                     |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     toData: { Data($0.utf8) },
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:5:15: note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 3 |
 4 | /// The ability to compare `Value`s and convert them to and from `Data`.
 5 | public struct Diffing<Value> {
   |               `- note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
 6 |   /// Converts a value _to_ data.
 7 |   public var toData: (Value) -> Data
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 7 | #endif
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:321:13: warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
319 | // accurate. With the FileRecording values we keep track of we modify the files so we can adjust
320 | // line numbers.
321 | private var recordings: Recordings = [:]
    |             |- warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'recordings' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'recordings' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:141:22: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 43 |   message: "Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead."
 44 | )
 45 | public func _verifyInlineSnapshot<Value>(
    |             `- note: add '@MainActor' to make global function '_verifyInlineSnapshot(matching:as:record:timeout:with:fileID:file:testName:line:column:)' part of global actor 'MainActor'
 46 |   matching value: @autoclosure () throws -> Value,
 47 |   as snapshotting: Snapshotting<Value, String>,
    :
139 |       #if !os(Linux) && !os(Windows)
140 |         if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
141 |           XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |                      `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
142 |             attachments.forEach {
143 |               activity.add($0)
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 7 | #endif
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:321:13: warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
319 | // accurate. With the FileRecording values we keep track of we modify the files so we can adjust
320 | // line numbers.
321 | private var recordings: Recordings = [:]
    |             |- warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'recordings' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'recordings' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:141:22: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 43 |   message: "Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead."
 44 | )
 45 | public func _verifyInlineSnapshot<Value>(
    |             `- note: add '@MainActor' to make global function '_verifyInlineSnapshot(matching:as:record:timeout:with:fileID:file:testName:line:column:)' part of global actor 'MainActor'
 46 |   matching value: @autoclosure () throws -> Value,
 47 |   as snapshotting: Snapshotting<Value, String>,
    :
139 |       #if !os(Linux) && !os(Windows)
140 |         if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
141 |           XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |                      `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
142 |             attachments.forEach {
143 |               activity.add($0)
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 7 | #endif
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:321:13: warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
319 | // accurate. With the FileRecording values we keep track of we modify the files so we can adjust
320 | // line numbers.
321 | private var recordings: Recordings = [:]
    |             |- warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'recordings' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'recordings' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:141:22: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 43 |   message: "Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead."
 44 | )
 45 | public func _verifyInlineSnapshot<Value>(
    |             `- note: add '@MainActor' to make global function '_verifyInlineSnapshot(matching:as:record:timeout:with:fileID:file:testName:line:column:)' part of global actor 'MainActor'
 46 |   matching value: @autoclosure () throws -> Value,
 47 |   as snapshotting: Snapshotting<Value, String>,
    :
139 |       #if !os(Linux) && !os(Windows)
140 |         if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
141 |           XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |                      `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
142 |             attachments.forEach {
143 |               activity.add($0)
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 7 | #endif
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:321:13: warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
319 | // accurate. With the FileRecording values we keep track of we modify the files so we can adjust
320 | // line numbers.
321 | private var recordings: Recordings = [:]
    |             |- warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'recordings' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'recordings' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:141:22: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 43 |   message: "Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead."
 44 | )
 45 | public func _verifyInlineSnapshot<Value>(
    |             `- note: add '@MainActor' to make global function '_verifyInlineSnapshot(matching:as:record:timeout:with:fileID:file:testName:line:column:)' part of global actor 'MainActor'
 46 |   matching value: @autoclosure () throws -> Value,
 47 |   as snapshotting: Snapshotting<Value, String>,
    :
139 |       #if !os(Linux) && !os(Windows)
140 |         if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
141 |           XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |                      `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
142 |             attachments.forEach {
143 |               activity.add($0)
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:812:17: warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 809 |   #endif
 810 |
 811 |   func addImagesForRenderedViews(_ view: View) -> [Async<View>] {
     |        `- note: add '@MainActor' to make global function 'addImagesForRenderedViews' part of global actor 'MainActor'
 812 |     return view.snapshot
     |                 `- warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 813 |       .map { async in
 814 |         [
     :
 832 |
 833 |   extension View {
 834 |     var snapshot: Async<Image>? {
     |         `- note: property declared here
 835 |       func inWindow<T>(_ perform: () -> T) -> T {
 836 |         #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:817:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 815 |           Async { callback in
 816 |             async.run { image in
 817 |               let imageView = ImageView()
     |                               `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 21 | @interface NSResponder : NSObject <NSCoding>
 22 |
 23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSControl'
 24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:818:25: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 816 |             async.run { image in
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
     |                         `- warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h:42:39: note: mutation of this property is only permitted within the actor
 40 | + (instancetype)imageViewWithImage:(NSImage *)image API_AVAILABLE(macos(10.12));
 41 |
 42 | @property (nullable, strong) NSImage *image;
    |                                       `- note: mutation of this property is only permitted within the actor
 43 |
 44 | @property (getter=isEditable) BOOL editable;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:819:25: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
     |                         `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:819:38: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
     |                                      `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:821:33: warning: call to main actor-isolated instance method 'addSubview(_:positioned:relativeTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
     |                                 `- warning: call to main actor-isolated instance method 'addSubview(_:positioned:relativeTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 822 |               #elseif os(iOS) || os(tvOS)
 823 |                 view.superview?.insertSubview(imageView, aboveSubview: view)
AppKit.NSView.addSubview:2:22: note: calls to instance method 'addSubview(_:positioned:relativeTo:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)}
  |                      |- note: calls to instance method 'addSubview(_:positioned:relativeTo:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:821:22: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
     |                      `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 822 |               #elseif os(iOS) || os(tvOS)
 823 |                 view.superview?.insertSubview(imageView, aboveSubview: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- note: property declared here
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:830:15: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 828 |         ]
 829 |       }
 830 |       ?? view.subviews.flatMap(addImagesForRenderedViews)
     |               `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 831 |   }
 832 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:895:19: warning: capture of 'work' with non-sendable type '() -> ()' in a '@Sendable' closure
 893 |                 subscription = nil
 894 |                 if change.newValue == false {
 895 |                   work()
     |                   |- warning: capture of 'work' with non-sendable type '() -> ()' in a '@Sendable' closure
     |                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 896 |                 }
 897 |               }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:892:17: warning: reference to captured var 'subscription' in concurrently-executing code
 890 |               subscription = wkWebView.observe(\.isLoading, options: [.initial, .new]) {
 891 |                 (webview, change) in
 892 |                 subscription?.invalidate()
     |                 `- warning: reference to captured var 'subscription' in concurrently-executing code
 893 |                 subscription = nil
 894 |                 if change.newValue == false {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:893:17: warning: mutation of captured var 'subscription' in concurrently-executing code
 891 |                 (webview, change) in
 892 |                 subscription?.invalidate()
 893 |                 subscription = nil
     |                 `- warning: mutation of captured var 'subscription' in concurrently-executing code
 894 |                 if change.newValue == false {
 895 |                   work()
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:812:17: warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 809 |   #endif
 810 |
 811 |   func addImagesForRenderedViews(_ view: View) -> [Async<View>] {
     |        `- note: add '@MainActor' to make global function 'addImagesForRenderedViews' part of global actor 'MainActor'
 812 |     return view.snapshot
     |                 `- warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 813 |       .map { async in
 814 |         [
     :
 832 |
 833 |   extension View {
 834 |     var snapshot: Async<Image>? {
     |         `- note: property declared here
 835 |       func inWindow<T>(_ perform: () -> T) -> T {
 836 |         #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:817:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 815 |           Async { callback in
 816 |             async.run { image in
 817 |               let imageView = ImageView()
     |                               `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 21 | @interface NSResponder : NSObject <NSCoding>
 22 |
 23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSControl'
 24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:818:25: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 816 |             async.run { image in
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
     |                         `- warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h:42:39: note: mutation of this property is only permitted within the actor
 40 | + (instancetype)imageViewWithImage:(NSImage *)image API_AVAILABLE(macos(10.12));
 41 |
 42 | @property (nullable, strong) NSImage *image;
    |                                       `- note: mutation of this property is only permitted within the actor
 43 |
 44 | @property (getter=isEditable) BOOL editable;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:819:25: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
     |                         `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:819:38: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
     |                                      `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:821:33: warning: call to main actor-isolated instance method 'addSubview(_:positioned:relativeTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
     |                                 `- warning: call to main actor-isolated instance method 'addSubview(_:positioned:relativeTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 822 |               #elseif os(iOS) || os(tvOS)
 823 |                 view.superview?.insertSubview(imageView, aboveSubview: view)
AppKit.NSView.addSubview:2:22: note: calls to instance method 'addSubview(_:positioned:relativeTo:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)}
  |                      |- note: calls to instance method 'addSubview(_:positioned:relativeTo:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:821:22: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
     |                      `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 822 |               #elseif os(iOS) || os(tvOS)
 823 |                 view.superview?.insertSubview(imageView, aboveSubview: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- note: property declared here
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:830:15: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 828 |         ]
 829 |       }
 830 |       ?? view.subviews.flatMap(addImagesForRenderedViews)
     |               `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 831 |   }
 832 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:895:19: warning: capture of 'work' with non-sendable type '() -> ()' in a '@Sendable' closure
 893 |                 subscription = nil
 894 |                 if change.newValue == false {
 895 |                   work()
     |                   |- warning: capture of 'work' with non-sendable type '() -> ()' in a '@Sendable' closure
     |                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 896 |                 }
 897 |               }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:892:17: warning: reference to captured var 'subscription' in concurrently-executing code
 890 |               subscription = wkWebView.observe(\.isLoading, options: [.initial, .new]) {
 891 |                 (webview, change) in
 892 |                 subscription?.invalidate()
     |                 `- warning: reference to captured var 'subscription' in concurrently-executing code
 893 |                 subscription = nil
 894 |                 if change.newValue == false {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:893:17: warning: mutation of captured var 'subscription' in concurrently-executing code
 891 |                 (webview, change) in
 892 |                 subscription?.invalidate()
 893 |                 subscription = nil
     |                 `- warning: mutation of captured var 'subscription' in concurrently-executing code
 894 |                 if change.newValue == false {
 895 |                   work()
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:812:17: warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 809 |   #endif
 810 |
 811 |   func addImagesForRenderedViews(_ view: View) -> [Async<View>] {
     |        `- note: add '@MainActor' to make global function 'addImagesForRenderedViews' part of global actor 'MainActor'
 812 |     return view.snapshot
     |                 `- warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 813 |       .map { async in
 814 |         [
     :
 832 |
 833 |   extension View {
 834 |     var snapshot: Async<Image>? {
     |         `- note: property declared here
 835 |       func inWindow<T>(_ perform: () -> T) -> T {
 836 |         #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:817:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 815 |           Async { callback in
 816 |             async.run { image in
 817 |               let imageView = ImageView()
     |                               `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 21 | @interface NSResponder : NSObject <NSCoding>
 22 |
 23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSControl'
 24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:818:25: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 816 |             async.run { image in
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
     |                         `- warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h:42:39: note: mutation of this property is only permitted within the actor
 40 | + (instancetype)imageViewWithImage:(NSImage *)image API_AVAILABLE(macos(10.12));
 41 |
 42 | @property (nullable, strong) NSImage *image;
    |                                       `- note: mutation of this property is only permitted within the actor
 43 |
 44 | @property (getter=isEditable) BOOL editable;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:819:25: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
     |                         `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:819:38: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
     |                                      `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:821:33: warning: call to main actor-isolated instance method 'addSubview(_:positioned:relativeTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
     |                                 `- warning: call to main actor-isolated instance method 'addSubview(_:positioned:relativeTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 822 |               #elseif os(iOS) || os(tvOS)
 823 |                 view.superview?.insertSubview(imageView, aboveSubview: view)
AppKit.NSView.addSubview:2:22: note: calls to instance method 'addSubview(_:positioned:relativeTo:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)}
  |                      |- note: calls to instance method 'addSubview(_:positioned:relativeTo:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:821:22: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
     |                      `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 822 |               #elseif os(iOS) || os(tvOS)
 823 |                 view.superview?.insertSubview(imageView, aboveSubview: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- note: property declared here
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:830:15: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 828 |         ]
 829 |       }
 830 |       ?? view.subviews.flatMap(addImagesForRenderedViews)
     |               `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 831 |   }
 832 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:895:19: warning: capture of 'work' with non-sendable type '() -> ()' in a '@Sendable' closure
 893 |                 subscription = nil
 894 |                 if change.newValue == false {
 895 |                   work()
     |                   |- warning: capture of 'work' with non-sendable type '() -> ()' in a '@Sendable' closure
     |                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 896 |                 }
 897 |               }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:892:17: warning: reference to captured var 'subscription' in concurrently-executing code
 890 |               subscription = wkWebView.observe(\.isLoading, options: [.initial, .new]) {
 891 |                 (webview, change) in
 892 |                 subscription?.invalidate()
     |                 `- warning: reference to captured var 'subscription' in concurrently-executing code
 893 |                 subscription = nil
 894 |                 if change.newValue == false {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:893:17: warning: mutation of captured var 'subscription' in concurrently-executing code
 891 |                 (webview, change) in
 892 |                 subscription?.invalidate()
 893 |                 subscription = nil
     |                 `- warning: mutation of captured var 'subscription' in concurrently-executing code
 894 |                 if change.newValue == false {
 895 |                   work()
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:812:17: warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 809 |   #endif
 810 |
 811 |   func addImagesForRenderedViews(_ view: View) -> [Async<View>] {
     |        `- note: add '@MainActor' to make global function 'addImagesForRenderedViews' part of global actor 'MainActor'
 812 |     return view.snapshot
     |                 `- warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 813 |       .map { async in
 814 |         [
     :
 832 |
 833 |   extension View {
 834 |     var snapshot: Async<Image>? {
     |         `- note: property declared here
 835 |       func inWindow<T>(_ perform: () -> T) -> T {
 836 |         #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:817:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 815 |           Async { callback in
 816 |             async.run { image in
 817 |               let imageView = ImageView()
     |                               `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 21 | @interface NSResponder : NSObject <NSCoding>
 22 |
 23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSControl'
 24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:818:25: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 816 |             async.run { image in
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
     |                         `- warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h:42:39: note: mutation of this property is only permitted within the actor
 40 | + (instancetype)imageViewWithImage:(NSImage *)image API_AVAILABLE(macos(10.12));
 41 |
 42 | @property (nullable, strong) NSImage *image;
    |                                       `- note: mutation of this property is only permitted within the actor
 43 |
 44 | @property (getter=isEditable) BOOL editable;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:819:25: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
     |                         `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:819:38: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 817 |               let imageView = ImageView()
 818 |               imageView.image = image
 819 |               imageView.frame = view.frame
     |                                      `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:821:33: warning: call to main actor-isolated instance method 'addSubview(_:positioned:relativeTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
     |                                 `- warning: call to main actor-isolated instance method 'addSubview(_:positioned:relativeTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 822 |               #elseif os(iOS) || os(tvOS)
 823 |                 view.superview?.insertSubview(imageView, aboveSubview: view)
AppKit.NSView.addSubview:2:22: note: calls to instance method 'addSubview(_:positioned:relativeTo:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)}
  |                      |- note: calls to instance method 'addSubview(_:positioned:relativeTo:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:821:22: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 819 |               imageView.frame = view.frame
 820 |               #if os(macOS)
 821 |                 view.superview?.addSubview(imageView, positioned: .above, relativeTo: view)
     |                      `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 822 |               #elseif os(iOS) || os(tvOS)
 823 |                 view.superview?.insertSubview(imageView, aboveSubview: view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- note: property declared here
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:830:15: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 828 |         ]
 829 |       }
 830 |       ?? view.subviews.flatMap(addImagesForRenderedViews)
     |               `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 831 |   }
 832 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:895:19: warning: capture of 'work' with non-sendable type '() -> ()' in a '@Sendable' closure
 893 |                 subscription = nil
 894 |                 if change.newValue == false {
 895 |                   work()
     |                   |- warning: capture of 'work' with non-sendable type '() -> ()' in a '@Sendable' closure
     |                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 896 |                 }
 897 |               }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:892:17: warning: reference to captured var 'subscription' in concurrently-executing code
 890 |               subscription = wkWebView.observe(\.isLoading, options: [.initial, .new]) {
 891 |                 (webview, change) in
 892 |                 subscription?.invalidate()
     |                 `- warning: reference to captured var 'subscription' in concurrently-executing code
 893 |                 subscription = nil
 894 |                 if change.newValue == false {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift:893:17: warning: mutation of captured var 'subscription' in concurrently-executing code
 891 |                 (webview, change) in
 892 |                 subscription?.invalidate()
 893 |                 subscription = nil
     |                 `- warning: mutation of captured var 'subscription' in concurrently-executing code
 894 |                 if change.newValue == false {
 895 |                   work()
[179/189] Compiling SwiftParser IsLexerClassified.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[180/189] Compiling SwiftParser LayoutNodes+Parsable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[181/189] Compiling SwiftParser Parser+TokenSpecSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[182/189] Compiling SwiftParser TokenSpecStaticMembers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/UIImage.swift:334:16: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
332 |   final class ThresholdImageProcessorKernel: CIImageProcessorKernel {
333 |     static let inputThresholdKey = "thresholdValue"
334 |     static let device = MTLCreateSystemDefaultDevice()
    |                `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
335 |
336 |     static var isSupported: Bool {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/UIImage.swift:195:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
193 |
194 | #if os(iOS) || os(tvOS) || os(macOS)
195 |   import Accelerate.vImage
    |   `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
196 |   import CoreImage.CIKernel
197 |   import MetalPerformanceShaders
    :
332 |   final class ThresholdImageProcessorKernel: CIImageProcessorKernel {
333 |     static let inputThresholdKey = "thresholdValue"
334 |     static let device = MTLCreateSystemDefaultDevice()
    |                |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 |     static var isSupported: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/UIImage.swift:334:16: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
332 |   final class ThresholdImageProcessorKernel: CIImageProcessorKernel {
333 |     static let inputThresholdKey = "thresholdValue"
334 |     static let device = MTLCreateSystemDefaultDevice()
    |                `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
335 |
336 |     static var isSupported: Bool {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/UIImage.swift:195:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
193 |
194 | #if os(iOS) || os(tvOS) || os(macOS)
195 |   import Accelerate.vImage
    |   `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
196 |   import CoreImage.CIKernel
197 |   import MetalPerformanceShaders
    :
332 |   final class ThresholdImageProcessorKernel: CIImageProcessorKernel {
333 |     static let inputThresholdKey = "thresholdValue"
334 |     static let device = MTLCreateSystemDefaultDevice()
    |                |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 |     static var isSupported: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/UIImage.swift:334:16: warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
332 |   final class ThresholdImageProcessorKernel: CIImageProcessorKernel {
333 |     static let inputThresholdKey = "thresholdValue"
334 |     static let device = MTLCreateSystemDefaultDevice()
    |                `- warning: static property 'device' is not concurrency-safe because non-'Sendable' type '(any MTLDevice)?' may have shared mutable state; this is an error in the Swift 6 language mode
335 |
336 |     static var isSupported: Bool {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/UIImage.swift:195:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
193 |
194 | #if os(iOS) || os(tvOS) || os(macOS)
195 |   import Accelerate.vImage
    |   `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
196 |   import CoreImage.CIKernel
197 |   import MetalPerformanceShaders
    :
332 |   final class ThresholdImageProcessorKernel: CIImageProcessorKernel {
333 |     static let inputThresholdKey = "thresholdValue"
334 |     static let device = MTLCreateSystemDefaultDevice()
    |                |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 |     static var isSupported: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 5 |
 6 |   @_spi(Experimental)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 5 |
 6 |   @_spi(Experimental)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 5 |
 6 |   @_spi(Experimental)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 5 |
 6 |   @_spi(Experimental)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/swiftlang/swift-syntax from cache (1.95s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (2.70s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/39] Compiling SwiftSyntax600 Empty.swift
[3/39] Emitting module SwiftSyntax600
[4/39] Compiling SwiftSyntax509 Empty.swift
[5/39] Emitting module SwiftSyntax509
[6/39] Emitting module SwiftSyntax510
[7/39] Compiling SwiftSyntax510 Empty.swift
[8/104] Compiling SwiftSyntax AbsolutePosition.swift
[9/104] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[10/104] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[11/104] Compiling SwiftSyntax Assert.swift
[12/104] Compiling SwiftSyntax BumpPtrAllocator.swift
[13/104] Compiling SwiftSyntax CommonAncestor.swift
[14/104] Compiling SwiftSyntax Convenience.swift
[15/104] Compiling SwiftSyntax CustomTraits.swift
[16/104] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[17/104] Compiling SwiftSyntax SyntaxChildren.swift
[18/104] Compiling SwiftSyntax SyntaxCollection.swift
[19/104] Compiling SwiftSyntax SyntaxHashable.swift
[20/104] Compiling SwiftSyntax SyntaxIdentifier.swift
[21/104] Compiling SwiftSyntax SyntaxNodeFactory.swift
[22/104] Compiling SwiftSyntax SyntaxNodeStructure.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 5 |
 6 |   @_spi(Experimental)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 5 |
 6 |   @_spi(Experimental)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 5 |
 6 |   @_spi(Experimental)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
[26/111] Compiling SwiftSyntax SyntaxCollections.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 5 |
 6 |   @_spi(Experimental)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
[27/114] Compiling SwiftSyntax SyntaxNodesC.swift
[28/114] Compiling SwiftSyntax SyntaxProtocol.swift
[29/114] Compiling SwiftSyntax SyntaxText.swift
[30/114] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[31/114] Compiling SwiftSyntax RawSyntaxValidation.swift
[32/114] Compiling SwiftSyntax SyntaxNodesAB.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 7 | #endif
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 7 | #endif
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 7 | #endif
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 7 | #endif
 8 |
[37/114] Compiling SwiftSyntax SyntaxEnum.swift
[38/114] Compiling SwiftSyntax SyntaxKind.swift
[39/114] Compiling SwiftSyntax SyntaxRewriter.swift
[40/114] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[41/114] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[42/114] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[43/114] Compiling SwiftSyntax SyntaxTraits.swift
[44/114] Compiling SwiftSyntax SyntaxVisitor.swift
[45/114] Compiling SwiftSyntax TokenKind.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/114] Emitting module SnapshotTesting
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
  7 | #endif
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 7 | #endif
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
 5 |
 6 |   @_spi(Experimental)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
[51/114] Compiling SwiftSyntax SourceEdit.swift
[52/114] Compiling SwiftSyntax SourceLength.swift
[53/114] Compiling SwiftSyntax SourceLocation.swift
[54/114] Compiling SwiftSyntax SourcePresence.swift
[55/114] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[56/114] Compiling SwiftSyntax Syntax.swift
[57/114] Compiling SwiftSyntax SyntaxArena.swift
[58/114] Compiling SnapshotTesting UIView.swift
[59/114] Compiling SnapshotTesting UIViewController.swift
[60/114] Compiling SnapshotTesting URLRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
  7 | #endif
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
  7 | #endif
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
  7 | #endif
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
  7 | #endif
  8 |
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/InlineSnapshotTestingTests/InlineSnapshotTesting.xctestplan
BUILD FAILURE 6.1 macosSpm