The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of SnapshotTestingWebP, reference 1.0.0 (22238d), with Swift 6.1 for macOS (SPM) on 5 Dec 2025 16:38:58 UTC.

Swift 6 data race errors: 2

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexey1312/SnapshotTestingWebP.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexey1312/SnapshotTestingWebP
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 22238d8 Add CI and release GitHub Actions workflows
Cloned https://github.com/alexey1312/SnapshotTestingWebP.git
Revision (git rev-parse @):
22238d85de4722cfdfc3d7a2a148969bebe7a1bd
SUCCESS checkout https://github.com/alexey1312/SnapshotTestingWebP.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/alexey1312/SnapshotTestingWebP.git
https://github.com/alexey1312/SnapshotTestingWebP.git
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.18.6",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
    },
    {
      "identity" : "libwebp",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/the-swift-collective/libwebp.git"
    }
  ],
  "manifest_display_name" : "SnapshotTestingWebP",
  "name" : "SnapshotTestingWebP",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SnapshotTestingWebP",
      "targets" : [
        "SnapshotTestingWebP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SnapshotTestingWebPTests",
      "module_type" : "SwiftTarget",
      "name" : "SnapshotTestingWebPTests",
      "path" : "Tests/SnapshotTestingWebPTests",
      "sources" : [
        "SnapshotTestingWebPTests.swift",
        "SwiftUIView.swift",
        "TestNSView.swift"
      ],
      "target_dependencies" : [
        "SnapshotTestingWebP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnapshotTestingWebP",
      "module_type" : "SwiftTarget",
      "name" : "SnapshotTestingWebP",
      "path" : "Sources/SnapshotTestingWebP",
      "product_dependencies" : [
        "SnapshotTesting",
        "WebP",
        "libwebp"
      ],
      "product_memberships" : [
        "SnapshotTestingWebP"
      ],
      "sources" : [
        "CompressionQuality.swift",
        "NSImage.swift",
        "NSView.swift",
        "NSViewController.swift",
        "SwiftUIView.swift",
        "UIImage.swift",
        "UIView.swift",
        "UIViewController.swift",
        "WebP/NSImage+WebP.swift",
        "WebP/UIImage+WebP.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/182] Write swift-version-2F0A5646E1D333AE.txt
[1/182] Compiling sharpyuv_csp.c
[2/182] Compiling wicdec.c
[3/182] Compiling image_enc.c
[4/182] Compiling sharpyuv_gamma.c
[5/182] Compiling sharpyuv_cpu.c
[6/182] Compiling sharpyuv_sse2.c
[7/182] Compiling tiffdec.c
[8/182] Compiling sharpyuv.c
[9/182] Compiling sharpyuv_dsp.c
[10/182] Compiling pnmdec.c
[11/182] Compiling pngdec.c
[12/182] Compiling metadata.c
[13/182] Compiling jpegdec.c
[14/182] Compiling image_dec.c
[15/182] Compiling imageio_util.c
[16/182] Compiling webpdec.c
[17/182] Compiling sharpyuv_neon.c
[18/182] Compiling ZLibC uncompr.c
[19/182] Compiling ZLibC inffast.c
[20/182] Compiling ZLibC infback.c
[21/182] Compiling ZLibC trees.c
[22/182] Compiling ZLibC inftrees.c
[23/182] Compiling ZLibC inflate.c
[24/182] Write sources
[29/182] Compiling ZLibC compress.c
[30/182] Compiling ZLibC crc32.c
[31/182] Compiling ZLibC adler32.c
[32/182] Compiling ZLibC deflate.c
[33/214] Compiling ZLibC zutil.c
[34/214] Compiling ZLibC gzlib.c
[35/214] Compiling ZLibC gzread.c
[36/214] Compiling ZLibC gzwrite.c
[37/214] Compiling ZLibC gzclose.c
[39/216] Emitting module ZLib
[40/216] Compiling ZLib ZLib.swift
[40/216] Compiling powerpc_init.c
[41/216] Compiling png pngwio.c
[42/216] Compiling png pngwtran.c
[43/216] Compiling png pngtrans.c
[44/216] Compiling png pngset.c
[45/216] Compiling png pngwrite.c
[46/216] Compiling filter_vsx_intrinsics.c
[47/216] Compiling png pngwutil.c
[48/216] Compiling png pngrio.c
[49/216] Compiling png pngrutil.c
[50/216] Compiling png pngpread.c
[51/216] Compiling png pngmem.c
[52/216] Compiling png pngerror.c
[53/216] Compiling png pngget.c
[54/216] Compiling png pngread.c
[55/216] Compiling png pngrtran.c
[56/216] Compiling mips_init.c
[57/216] Compiling filter_msa_intrinsics.c
[58/216] Compiling png png.c
[59/216] Compiling loongarch_lsx_init.c
[60/216] Compiling filter_mmi_inline_assembly.c
[61/216] Compiling filter_neon.S
[62/216] Compiling filter_lsx_intrinsics.c
[63/216] Compiling intel_init.c
[64/216] Compiling filter_sse2_intrinsics.c
[65/216] Compiling palette_neon_intrinsics.c
[66/216] Compiling arm_init.c
[67/216] Compiling filter_neon_intrinsics.c
[69/218] Emitting module LibPNG
[70/218] Compiling LibPNG LibPNG.swift
[70/218] Compiling random_utils.c
[71/218] Compiling quant_levels_dec_utils.c
[72/218] Compiling thread_utils.c
[73/218] Compiling color_cache_utils.c
[74/218] Compiling huffman_encode_utils.c
[75/218] Compiling filters_utils.c
[76/218] Compiling utils.c
[77/218] Compiling bit_writer_utils.c
[78/218] Compiling palette.c
[79/218] Compiling huffman_utils.c
[80/218] Compiling rescaler_utils.c
[81/218] Compiling bit_reader_utils.c
[82/218] Compiling quant_levels_utils.c
[83/218] Compiling muxinternal.c
[84/218] Compiling muxread.c
[85/218] Compiling muxedit.c
[86/218] Compiling webp_enc.c
[87/218] Compiling tree_enc.c
[88/218] Compiling token_enc.c
[89/218] Compiling syntax_enc.c
[90/218] Compiling anim_encode.c
[91/218] Compiling vp8l_enc.c
[92/218] Compiling picture_tools_enc.c
[93/218] Compiling predictor_enc.c
[94/218] Compiling picture_rescale_enc.c
[95/218] Compiling picture_psnr_enc.c
[96/218] Compiling picture_enc.c
[97/218] Compiling near_lossless_enc.c
[98/218] Compiling iterator_enc.c
[99/218] Compiling filter_enc.c
[100/218] Compiling config_enc.c
[101/218] Compiling histogram_enc.c
[102/218] Compiling frame_enc.c
[103/218] Compiling cost_enc.c
[104/218] Compiling picture_csp_enc.c
[105/218] Compiling backward_references_enc.c
[106/218] Compiling backward_references_cost_enc.c
[107/218] Compiling quant_enc.c
[108/218] Compiling analysis_enc.c
[109/218] Compiling alpha_enc.c
[110/218] Compiling yuv_sse2.c
[111/218] Compiling yuv_mips_dsp_r2.c
[112/218] Compiling yuv_sse41.c
[113/218] Compiling yuv_mips32.c
[114/218] Compiling upsampling_sse41.c
[115/218] Compiling yuv.c
[116/218] Compiling yuv_neon.c
[117/218] Compiling upsampling_sse2.c
[118/218] Compiling upsampling_msa.c
[119/218] Compiling upsampling_mips_dsp_r2.c
[120/218] Compiling upsampling.c
[121/218] Compiling ssim_sse2.c
[122/218] Compiling ssim.c
[123/218] Compiling rescaler_sse2.c
[123/218] Compiling rescaler_msa.c
[125/218] Compiling rescaler_mips_dsp_r2.c
[126/218] Compiling rescaler_neon.c
[127/218] Compiling rescaler_mips32.c
[128/218] Compiling upsampling_neon.c
[129/218] Compiling lossless_sse41.c
[130/218] Compiling rescaler.c
[131/218] Compiling lossless_sse2.c
[132/218] Compiling lossless_msa.c
[133/218] Compiling lossless_mips_dsp_r2.c
[134/218] Compiling lossless_enc_sse41.c
[135/218] Compiling lossless_enc_sse2.c
[136/218] Compiling lossless_enc_msa.c
[137/218] Compiling lossless_enc_mips_dsp_r2.c
[138/218] Compiling lossless_enc_neon.c
[139/218] Compiling lossless_enc_mips32.c
[140/218] Compiling lossless_neon.c
[141/218] Compiling filters_sse2.c
[142/218] Compiling filters_msa.c
[143/218] Compiling filters_mips_dsp_r2.c
[144/218] Compiling lossless.c
[145/218] Compiling lossless_enc.c
[146/218] Compiling filters_neon.c
[147/218] Compiling filters.c
[148/218] Compiling enc_sse41.c
[149/218] Compiling enc_sse2.c
[150/218] Compiling enc_neon.c
[151/218] Compiling enc_msa.c
[152/218] Compiling enc_mips_dsp_r2.c
[153/218] Compiling enc_mips32.c
[154/218] Compiling dec_sse41.c
[155/218] Compiling dec_sse2.c
[156/218] Compiling dec_msa.c
[157/218] Compiling enc.c
[158/218] Compiling dec_mips_dsp_r2.c
[159/218] Compiling dec_mips32.c
[160/218] Compiling dec_clip_tables.c
[161/218] Compiling cpu.c
[162/218] Compiling dec.c
[163/218] Compiling cost_sse2.c
[164/218] Compiling cost_mips_dsp_r2.c
[165/218] Compiling cost_mips32.c
[166/218] Compiling alpha_processing_sse41.c
[167/218] Compiling cost_neon.c
[168/218] Compiling dec_neon.c
[169/218] Compiling cost.c
[170/218] Compiling alpha_processing_sse2.c
[171/218] Compiling alpha_processing_mips_dsp_r2.c
[172/218] Compiling alpha_processing_neon.c
[173/218] Compiling alpha_processing.c
[174/218] Compiling demux.c
[175/218] Compiling anim_decode.c
[176/218] Compiling webp_dec.c
[177/218] Compiling vp8_dec.c
[178/218] Compiling quant_dec.c
[179/218] Compiling tree_dec.c
[180/218] Compiling vp8l_dec.c
[181/218] Compiling io_dec.c
[182/218] Compiling buffer_dec.c
[183/218] Compiling alpha_dec.c
[184/218] Compiling idec_dec.c
[185/218] Compiling frame_dec.c
[187/220] Compiling WebP WebP.swift
[188/220] Emitting module WebP
[189/220] Emitting module SnapshotTesting
[190/223] Compiling SnapshotTesting UIView.swift
[191/223] Compiling SnapshotTesting UIViewController.swift
[192/223] Compiling SnapshotTesting URLRequest.swift
[193/223] Compiling SnapshotTesting Data.swift
[194/223] Compiling SnapshotTesting Encodable.swift
[195/223] Compiling SnapshotTesting NSBezierPath.swift
[196/223] Compiling SnapshotTesting NSImage.swift
[197/223] Compiling SnapshotTesting NSView.swift
[198/223] Compiling SnapshotTesting NSViewController.swift
[199/223] Compiling SnapshotTesting Diffing.swift
[200/223] Compiling SnapshotTesting Wait.swift
[201/223] Compiling SnapshotTesting Deprecations.swift
[202/223] Compiling SnapshotTesting RecordIssue.swift
[203/223] Compiling SnapshotTesting SceneKit.swift
[204/223] Compiling SnapshotTesting SpriteKit.swift
[205/223] Compiling SnapshotTesting String.swift
[206/223] Compiling SnapshotTesting SnapshotTestingConfiguration.swift
[207/223] Compiling SnapshotTesting SnapshotsTestTrait.swift
[208/223] Compiling SnapshotTesting Snapshotting.swift
[209/223] Compiling SnapshotTesting Any.swift
[210/223] Compiling SnapshotTesting AssertSnapshot.swift
[211/223] Compiling SnapshotTesting Async.swift
[212/223] Compiling SnapshotTesting Internal.swift
[213/223] Compiling SnapshotTesting PlistEncoder.swift
[214/223] Compiling SnapshotTesting CALayer.swift
[215/223] Compiling SnapshotTesting CGPath.swift
[216/223] Compiling SnapshotTesting CaseIterable.swift
[217/223] Compiling SnapshotTesting SwiftUIView.swift
[218/223] Compiling SnapshotTesting UIBezierPath.swift
[219/223] Compiling SnapshotTesting UIImage.swift
[220/223] Compiling SnapshotTesting String+SpecialCharacters.swift
[221/223] Compiling SnapshotTesting View.swift
[222/223] Compiling SnapshotTesting XCTAttachment.swift
[223/223] Compiling SnapshotTesting Diff.swift
[224/233] Compiling SnapshotTestingWebP UIImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingWebP/UIImage.swift:279:20: 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
277 |     final class ThresholdImageProcessorKernel: CIImageProcessorKernel {
278 |         static let inputThresholdKey = "thresholdValue"
279 |         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
280 |
281 |         override class func process(
/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/SnapshotTestingWebP/UIImage.swift:225:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
223 |
224 | #if os(iOS) || os(tvOS) || os(macOS)
225 |     import CoreImage.CIKernel
    |     `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
226 |     import MetalPerformanceShaders
227 |
    :
277 |     final class ThresholdImageProcessorKernel: CIImageProcessorKernel {
278 |         static let inputThresholdKey = "thresholdValue"
279 |         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
280 |
281 |         override class func process(
[225/233] Compiling SnapshotTestingWebP SwiftUIView.swift
[226/233] Compiling SnapshotTestingWebP UIView.swift
[227/233] Compiling SnapshotTestingWebP UIViewController.swift
[228/233] Compiling SnapshotTestingWebP NSImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingWebP/NSImage.swift:7:20: warning: static property 'imageWebP' 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 |
  6 |     public extension Diffing where Value == NSImage {
  7 |         static let imageWebP = Diffing.imageWebP(precision: 1, perceptualPrecision: 1, compressionQuality: .lossless)
    |                    `- warning: static property 'imageWebP' 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
  8 |
  9 |         static func imageWebP(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:5:15: note: generic struct 'Diffing' does not 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: generic struct 'Diffing' does not conform to the 'Sendable' protocol
 6 |   /// Converts a value _to_ data.
 7 |   public var toData: (Value) -> Data
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingWebP/NSImage.swift:4:15: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SnapshotTesting'
  2 |     import Cocoa
  3 |     import XCTest
  4 |     @testable import SnapshotTesting
    |               `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SnapshotTesting'
  5 |
  6 |     public extension Diffing where Value == NSImage {
  7 |         static let imageWebP = Diffing.imageWebP(precision: 1, perceptualPrecision: 1, compressionQuality: .lossless)
    |                    |- note: add '@MainActor' to make static property 'imageWebP' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |         static func imageWebP(
[229/233] Compiling SnapshotTestingWebP CompressionQuality.swift
[230/233] Compiling SnapshotTestingWebP NSView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingWebP/NSView.swift:21:40: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
19 |                 compressionQuality: compressionQuality
20 |             ).asyncPullback { view in
21 |                 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
22 |                 if let size = size { view.frame.size = size }
23 |                 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/SnapshotTestingWebP/NSView.swift:22:43: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
20 |             ).asyncPullback { view in
21 |                 let initialSize = view.frame.size
22 |                 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
23 |                 guard view.frame.width > 0, view.frame.height > 0 else {
24 |                     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/SnapshotTestingWebP/NSView.swift:23:28: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 |                 let initialSize = view.frame.size
22 |                 if let size = size { view.frame.size = size }
23 |                 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
24 |                     fatalError("View not renderable to image at size \(view.frame.size)")
25 |                 }
/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/SnapshotTestingWebP/NSView.swift:23:50: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 |                 let initialSize = view.frame.size
22 |                 if let size = size { view.frame.size = size }
23 |                 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
24 |                     fatalError("View not renderable to image at size \(view.frame.size)")
25 |                 }
/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/SnapshotTestingWebP/NSView.swift:24:77: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
22 |                 if let size = size { view.frame.size = size }
23 |                 guard view.frame.width > 0, view.frame.height > 0 else {
24 |                     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
25 |                 }
26 |                 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/SnapshotTestingWebP/NSView.swift:26:29: warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
24 |                     fatalError("View not renderable to image at size \(view.frame.size)")
25 |                 }
26 |                 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
27 |                     ?? Async { callback in
28 |                         addImagesForRenderedViews(view).sequence().run { views in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/SnapshotTestingWebP/NSView.swift:30:50: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 |                         addImagesForRenderedViews(view).sequence().run { views in
29 |                             // Use explicit 1x scale for consistent rendering across different displays
30 |                             let width = Int(view.bounds.width)
   |                                                  `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 |                             let height = Int(view.bounds.height)
32 |                             let bitmapRep = NSBitmapImageRep(
/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/SnapshotTestingWebP/NSView.swift:31:51: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |                             // Use explicit 1x scale for consistent rendering across different displays
30 |                             let width = Int(view.bounds.width)
31 |                             let height = Int(view.bounds.height)
   |                                                   `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |                             let bitmapRep = NSBitmapImageRep(
33 |                                 bitmapDataPlanes: nil,
/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/SnapshotTestingWebP/NSView.swift:44:51: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 |                                 bitsPerPixel: 32
43 |                             )!
44 |                             bitmapRep.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
45 |
46 |                             NSGraphicsContext.saveGraphicsState()
/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/SnapshotTestingWebP/NSView.swift:48:34: warning: call to main actor-isolated instance method 'displayIgnoringOpacity(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 |                             NSGraphicsContext.saveGraphicsState()
47 |                             NSGraphicsContext.current = NSGraphicsContext(bitmapImageRep: bitmapRep)
48 |                             view.displayIgnoringOpacity(view.bounds, in: NSGraphicsContext.current!)
   |                                  `- warning: call to main actor-isolated instance method 'displayIgnoringOpacity(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |                             NSGraphicsContext.restoreGraphicsState()
50 |
AppKit.NSView.displayIgnoringOpacity:2:22: note: calls to instance method 'displayIgnoringOpacity(_:in:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func displayIgnoringOpacity(_ rect: NSRect, in context: NSGraphicsContext)}
  |                      |- note: calls to instance method 'displayIgnoringOpacity(_: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/SnapshotTestingWebP/NSView.swift:48:62: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |                             NSGraphicsContext.saveGraphicsState()
47 |                             NSGraphicsContext.current = NSGraphicsContext(bitmapImageRep: bitmapRep)
48 |                             view.displayIgnoringOpacity(view.bounds, in: NSGraphicsContext.current!)
   |                                                              `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 |                             NSGraphicsContext.restoreGraphicsState()
50 |
/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/SnapshotTestingWebP/NSView.swift:51:60: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 |                             NSGraphicsContext.restoreGraphicsState()
50 |
51 |                             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
52 |                             image.addRepresentation(bitmapRep)
53 |                             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/SnapshotTestingWebP/NSView.swift:54:48: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 |                             image.addRepresentation(bitmapRep)
53 |                             callback(image)
54 |                             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
55 |                             view.frame.size = initialSize
56 |                         }
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/SnapshotTestingWebP/NSView.swift:55:34: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |                             callback(image)
54 |                             views.forEach { $0.removeFromSuperview() }
55 |                             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
56 |                         }
57 |                     }
/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));
[231/233] Emitting module SnapshotTestingWebP
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingWebP/NSImage.swift:7:20: warning: static property 'imageWebP' 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 |
  6 |     public extension Diffing where Value == NSImage {
  7 |         static let imageWebP = Diffing.imageWebP(precision: 1, perceptualPrecision: 1, compressionQuality: .lossless)
    |                    `- warning: static property 'imageWebP' 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
  8 |
  9 |         static func imageWebP(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:5:15: note: generic struct 'Diffing' does not 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: generic struct 'Diffing' does not conform to the 'Sendable' protocol
 6 |   /// Converts a value _to_ data.
 7 |   public var toData: (Value) -> Data
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingWebP/NSImage.swift:4:15: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SnapshotTesting'
  2 |     import Cocoa
  3 |     import XCTest
  4 |     @testable import SnapshotTesting
    |               `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SnapshotTesting'
  5 |
  6 |     public extension Diffing where Value == NSImage {
  7 |         static let imageWebP = Diffing.imageWebP(precision: 1, perceptualPrecision: 1, compressionQuality: .lossless)
    |                    |- note: add '@MainActor' to make static property 'imageWebP' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |         static func imageWebP(
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingWebP/UIImage.swift:279:20: 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
277 |     final class ThresholdImageProcessorKernel: CIImageProcessorKernel {
278 |         static let inputThresholdKey = "thresholdValue"
279 |         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
280 |
281 |         override class func process(
/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/SnapshotTestingWebP/UIImage.swift:225:5: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
223 |
224 | #if os(iOS) || os(tvOS) || os(macOS)
225 |     import CoreImage.CIKernel
    |     `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Metal'
226 |     import MetalPerformanceShaders
227 |
    :
277 |     final class ThresholdImageProcessorKernel: CIImageProcessorKernel {
278 |         static let inputThresholdKey = "thresholdValue"
279 |         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
280 |
281 |         override class func process(
[232/233] Compiling SnapshotTestingWebP NSImage+WebP.swift
[233/233] Compiling SnapshotTestingWebP NSViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingWebP/NSViewController.swift:21:43: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
19 |                 compressionQuality: compressionQuality
20 |             ).asyncPullback { viewController in
21 |                 let view = viewController.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
22 |                 let initialSize = view.frame.size
23 |                 if let size = size { view.frame.size = size }
/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/SnapshotTestingWebP/NSViewController.swift:22:40: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 |             ).asyncPullback { viewController in
21 |                 let view = viewController.view
22 |                 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
23 |                 if let size = size { view.frame.size = size }
24 |                 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/SnapshotTestingWebP/NSViewController.swift:23:43: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
21 |                 let view = viewController.view
22 |                 let initialSize = view.frame.size
23 |                 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
24 |                 guard view.frame.width > 0, view.frame.height > 0 else {
25 |                     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/SnapshotTestingWebP/NSViewController.swift:24:28: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
22 |                 let initialSize = view.frame.size
23 |                 if let size = size { view.frame.size = size }
24 |                 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
25 |                     fatalError("View not renderable to image at size \(view.frame.size)")
26 |                 }
/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/SnapshotTestingWebP/NSViewController.swift:24:50: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
22 |                 let initialSize = view.frame.size
23 |                 if let size = size { view.frame.size = size }
24 |                 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
25 |                     fatalError("View not renderable to image at size \(view.frame.size)")
26 |                 }
/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/SnapshotTestingWebP/NSViewController.swift:25:77: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
23 |                 if let size = size { view.frame.size = size }
24 |                 guard view.frame.width > 0, view.frame.height > 0 else {
25 |                     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
26 |                 }
27 |                 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/SnapshotTestingWebP/NSViewController.swift:27:29: warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 |                     fatalError("View not renderable to image at size \(view.frame.size)")
26 |                 }
27 |                 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
28 |                     ?? Async { callback in
29 |                         addImagesForRenderedViews(view).sequence().run { views in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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/SnapshotTestingWebP/NSViewController.swift:30:50: 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
28 |                     ?? Async { callback in
29 |                         addImagesForRenderedViews(view).sequence().run { views in
30 |                             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
31 |                             view.cacheDisplay(in: view.bounds, to: bitmapRep)
32 |                             // Use pixel size from bitmapRep for consistency with WebP loading
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/SnapshotTestingWebP/NSViewController.swift:30:91: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 |                     ?? Async { callback in
29 |                         addImagesForRenderedViews(view).sequence().run { views in
30 |                             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
31 |                             view.cacheDisplay(in: view.bounds, to: bitmapRep)
32 |                             // Use pixel size from bitmapRep for consistency with WebP loading
/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/SnapshotTestingWebP/NSViewController.swift:31:34: 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
29 |                         addImagesForRenderedViews(view).sequence().run { views in
30 |                             let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
31 |                             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
32 |                             // Use pixel size from bitmapRep for consistency with WebP loading
33 |                             let imageSize = CGSize(width: bitmapRep.pixelsWide, height: bitmapRep.pixelsHigh)
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/SnapshotTestingWebP/NSViewController.swift:31:56: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |                         addImagesForRenderedViews(view).sequence().run { views in
30 |                             let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
31 |                             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
32 |                             // Use pixel size from bitmapRep for consistency with WebP loading
33 |                             let imageSize = CGSize(width: bitmapRep.pixelsWide, height: bitmapRep.pixelsHigh)
/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/SnapshotTestingWebP/NSViewController.swift:37:48: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |                             image.addRepresentation(bitmapRep)
36 |                             callback(image)
37 |                             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
38 |                             view.frame.size = initialSize
39 |                         }
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/SnapshotTestingWebP/NSViewController.swift:38:34: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
36 |                             callback(image)
37 |                             views.forEach { $0.removeFromSuperview() }
38 |                             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
39 |                         }
40 |                     }
/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/SnapshotTestingWebP/NSViewController.swift:31:34: warning: sending 'bitmapRep' risks causing data races; this is an error in the Swift 6 language mode
29 |                         addImagesForRenderedViews(view).sequence().run { views in
30 |                             let bitmapRep = view.bitmapImageRepForCachingDisplay(in: view.bounds)!
31 |                             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
32 |                             // Use pixel size from bitmapRep for consistency with WebP loading
33 |                             let imageSize = CGSize(width: bitmapRep.pixelsWide, height: bitmapRep.pixelsHigh)
   |                                                                     `- note: access can happen concurrently
34 |                             let image = NSImage(size: imageSize)
35 |                             image.addRepresentation(bitmapRep)
[234/234] Compiling SnapshotTestingWebP UIImage+WebP.swift
Build complete! (38.39s)
Fetching https://github.com/the-swift-collective/libwebp.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
[1/54] Fetching libwebp
Fetched https://github.com/the-swift-collective/libwebp.git from cache (1.97s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.99s)
Computing version for https://github.com/the-swift-collective/libwebp.git
Computed https://github.com/the-swift-collective/libwebp.git at 1.4.1 (2.62s)
Fetching https://github.com/the-swift-collective/libpng.git
[1/30] Fetching libpng
Fetched https://github.com/the-swift-collective/libpng.git from cache (0.67s)
Computing version for https://github.com/the-swift-collective/libpng.git
Computed https://github.com/the-swift-collective/libpng.git at 1.6.45 (1.26s)
Fetching https://github.com/the-swift-collective/zlib.git
[1/48] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git from cache (0.63s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.7 (1.14s)
Fetching https://github.com/pointfreeco/swift-custom-dump from cache
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.61s)
Fetched https://github.com/swiftlang/swift-syntax from cache (1.75s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (2.26s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.74s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.2 (1.38s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (0.64s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.0 (0.48s)
Creating working copy for https://github.com/the-swift-collective/libwebp.git
Working copy of https://github.com/the-swift-collective/libwebp.git resolved at 1.4.1
Creating working copy for https://github.com/the-swift-collective/libpng.git
Working copy of https://github.com/the-swift-collective/libpng.git resolved at 1.6.45
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/the-swift-collective/zlib.git
Working copy of https://github.com/the-swift-collective/zlib.git resolved at 1.3.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.7
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.18.6",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
    },
    {
      "identity" : "libwebp",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/the-swift-collective/libwebp.git"
    }
  ],
  "manifest_display_name" : "SnapshotTestingWebP",
  "name" : "SnapshotTestingWebP",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SnapshotTestingWebP",
      "targets" : [
        "SnapshotTestingWebP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SnapshotTestingWebPTests",
      "module_type" : "SwiftTarget",
      "name" : "SnapshotTestingWebPTests",
      "path" : "Tests/SnapshotTestingWebPTests",
      "sources" : [
        "SnapshotTestingWebPTests.swift",
        "SwiftUIView.swift",
        "TestNSView.swift"
      ],
      "target_dependencies" : [
        "SnapshotTestingWebP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnapshotTestingWebP",
      "module_type" : "SwiftTarget",
      "name" : "SnapshotTestingWebP",
      "path" : "Sources/SnapshotTestingWebP",
      "product_dependencies" : [
        "SnapshotTesting",
        "WebP",
        "libwebp"
      ],
      "product_memberships" : [
        "SnapshotTestingWebP"
      ],
      "sources" : [
        "CompressionQuality.swift",
        "NSImage.swift",
        "NSView.swift",
        "NSViewController.swift",
        "SwiftUIView.swift",
        "UIImage.swift",
        "UIView.swift",
        "UIViewController.swift",
        "WebP/NSImage+WebP.swift",
        "WebP/UIImage+WebP.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.