Build Information
Successful build of SnapshotPreviews, reference main (e90a09), with Swift 6.1 for macOS (SPM) on 12 Oct 2026 06:44:15 UTC.
Swift 6 data race errors: 28
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getsentry/SnapshotPreviews.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getsentry/SnapshotPreviews
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e90a099 fix(png): Preserve color and alpha in extended-range snapshots (#284)
Cloned https://github.com/getsentry/SnapshotPreviews.git
Revision (git rev-parse @):
e90a09906ef9d0d7fc29871202b4048cd360ee25
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getsentry/SnapshotPreviews.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/getsentry/SnapshotPreviews.git
https://github.com/getsentry/SnapshotPreviews.git
{
"cxx_language_standard" : "c++11",
"dependencies" : [
{
"identity" : "flyingfox",
"requirement" : {
"exact" : [
"0.16.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swhitty/FlyingFox.git"
},
{
"identity" : "simpledebugger",
"requirement" : {
"exact" : [
"1.0.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/EmergeTools/SimpleDebugger.git"
}
],
"manifest_display_name" : "SnapshotPreviews",
"name" : "SnapshotPreviews",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "PreviewGallery",
"targets" : [
"PreviewGallery"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SnapshottingTests",
"targets" : [
"SnapshottingTests"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SnapshotPreferences",
"targets" : [
"SnapshotPreferences"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SnapshotPreviewsCore",
"targets" : [
"SnapshotPreviewsCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SnapshotSharedModels",
"targets" : [
"SnapshotSharedModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Snapshotting",
"targets" : [
"Snapshotting"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "SnapshottingTestsTests",
"module_type" : "SwiftTarget",
"name" : "SnapshottingTestsTests",
"path" : "Tests/SnapshottingTestsTests",
"sources" : [
"AllSnapshotImageNamesTests.swift",
"FileNameUtilsTests.swift",
"SnapshotCIExportCoordinatorTests.swift"
],
"target_dependencies" : [
"SnapshottingTests",
"SnapshotPreviewsCore",
"SnapshotSharedModels"
],
"type" : "test"
},
{
"c99name" : "SnapshottingTestsObjc",
"module_type" : "ClangTarget",
"name" : "SnapshottingTestsObjc",
"path" : "Sources/SnapshottingTestsObjc",
"product_dependencies" : [
"SimpleDebugger"
],
"product_memberships" : [
"SnapshottingTests"
],
"sources" : [
"EMGInvocationCreator.mm"
],
"type" : "library"
},
{
"c99name" : "SnapshottingTests",
"module_type" : "SwiftTarget",
"name" : "SnapshottingTests",
"path" : "Sources/SnapshottingTests",
"product_memberships" : [
"SnapshottingTests"
],
"sources" : [
"AccessibilityPreviewTest.swift",
"AllSnapshotImageNamesWriter.swift",
"DiscoveredPreview+PreviewType.swift",
"FileNameUtils.swift",
"PreviewBaseTest.swift",
"PreviewFilters.swift",
"PreviewLayoutTest.swift",
"SnapshotCIExportCoordinator.swift",
"SnapshotPreviewDestination.swift",
"SnapshotPreviewDeviceFilter.swift",
"SnapshotTest.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore",
"SnapshottingTestsObjc",
"SnapshotSharedModels"
],
"type" : "library"
},
{
"c99name" : "SnapshottingSwift",
"module_type" : "SwiftTarget",
"name" : "SnapshottingSwift",
"path" : "Sources/SnapshottingSwift",
"product_dependencies" : [
"FlyingFox"
],
"product_memberships" : [
"Snapshotting"
],
"sources" : [
"Initializer.swift",
"Snapshots.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore"
],
"type" : "library"
},
{
"c99name" : "Snapshotting",
"module_type" : "ClangTarget",
"name" : "Snapshotting",
"path" : "Sources/Snapshotting",
"product_memberships" : [
"Snapshotting"
],
"sources" : [
"Initializer.m"
],
"target_dependencies" : [
"SnapshottingSwift"
],
"type" : "library"
},
{
"c99name" : "SnapshotSharedModels",
"module_type" : "SwiftTarget",
"name" : "SnapshotSharedModels",
"path" : "Sources/SnapshotSharedModels",
"product_memberships" : [
"PreviewGallery",
"SnapshottingTests",
"SnapshotPreferences",
"SnapshotPreviewsCore",
"SnapshotSharedModels",
"Snapshotting"
],
"sources" : [
"RenderingMode.swift",
"SnapshotCanvasTheme.swift",
"SnapshotGroup.swift",
"SnapshotMetadataValue.swift"
],
"type" : "library"
},
{
"c99name" : "SnapshotPreviewsTests",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreviewsTests",
"path" : "Tests/SnapshotPreviewsTests",
"sources" : [
"ActivityIndicatorFreezingTests.swift",
"SnapshotPreviewsTest.swift",
"UIImagePNGEncodingTests.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore"
],
"type" : "test"
},
{
"c99name" : "SnapshotPreviewsCore",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreviewsCore",
"path" : "Sources/SnapshotPreviewsCore",
"product_memberships" : [
"PreviewGallery",
"SnapshottingTests",
"SnapshotPreviewsCore",
"Snapshotting"
],
"sources" : [
"ActivityIndicatorFreezing.swift",
"AppKitRenderingStrategy.swift",
"ConformanceLookup.swift",
"ExpandingViewController.swift",
"MetadataTypes.swift",
"ModifierFinder.swift",
"NSImage+EMG.swift",
"Orientation.swift",
"PreferredColorSchemeWrapper.swift",
"RenderingStrategy.swift",
"ScrollExpansion.swift",
"SnapshotPreviewsCore.swift",
"String+Split.swift",
"SwiftUIRenderingStrategy.swift",
"UIImage+EMG.swift",
"UIKitRenderingStrategy.swift",
"UIViewWrapper.swift",
"View+Snapshot.swift",
"ViewSelector.swift"
],
"target_dependencies" : [
"PreviewsSupport",
"SnapshotSharedModels"
],
"type" : "library"
},
{
"c99name" : "SnapshotPreferencesTests",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreferencesTests",
"path" : "Tests/SnapshotPreferencesTests",
"sources" : [
"SnapshotMetadataPreferenceTests.swift"
],
"target_dependencies" : [
"SnapshotPreferences",
"SnapshotSharedModels"
],
"type" : "test"
},
{
"c99name" : "SnapshotPreferences",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreferences",
"path" : "Sources/SnapshotPreferences",
"product_memberships" : [
"PreviewGallery",
"SnapshotPreferences"
],
"sources" : [
"AccessibiltyPreference.swift",
"AppStoreSnapshotPreference.swift",
"DiffThresholdPreference.swift",
"EmergeModifierFinder.swift",
"ExpansionPreference.swift",
"PrecisionPreference.swift",
"RenderingModePreference.swift",
"SnapshotMetadataPreference.swift"
],
"target_dependencies" : [
"SnapshotSharedModels"
],
"type" : "library"
},
{
"c99name" : "PreviewsSupport",
"module_type" : "BinaryTarget",
"name" : "PreviewsSupport",
"path" : "PreviewsSupport/PreviewsSupport.xcframework",
"product_memberships" : [
"PreviewGallery",
"SnapshottingTests",
"SnapshotPreviewsCore",
"Snapshotting"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "PreviewGallery",
"module_type" : "SwiftTarget",
"name" : "PreviewGallery",
"path" : "Sources/PreviewGallery",
"product_memberships" : [
"PreviewGallery"
],
"sources" : [
"Array+Filter.swift",
"Checkerboard.swift",
"Colors.swift",
"ModulePreviews.swift",
"ModuleScreens.swift",
"Preview+FullScreen.swift",
"PreviewCell.swift",
"PreviewData.swift",
"PreviewGallery.swift",
"PreviewsDetail.swift",
"TitleSubtitleRow.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore",
"SnapshotPreferences"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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/14] Write sources
[8/14] Copying PreviewsSupport.framework
[9/14] Write swift-version-2F0A5646E1D333AE.txt
[10/44] Compiling SnapshottingTestsObjc EMGInvocationCreator.mm
[12/44] Emitting module FlyingSocks
[13/46] Compiling FlyingSocks SocketPool.swift
[14/46] Compiling FlyingSocks SwiftSupport.swift
[15/46] Compiling FlyingSocks Task+Timeout.swift
[16/46] Compiling FlyingSocks Transferring.swift
[17/46] Compiling FlyingSocks SocketPool+ePoll.swift
[18/46] Compiling FlyingSocks SocketPool+kQueue.swift
[19/46] Compiling FlyingSocks Logging.swift
[20/46] Compiling FlyingSocks Socket+Darwin.swift
[21/46] Compiling FlyingSocks Socket+Glibc.swift
[22/46] Compiling FlyingSocks Socket+WinSock2.swift
[23/46] Compiling FlyingSocks Socket.swift
[24/46] Compiling FlyingSocks SocketAddress.swift
[25/46] Compiling FlyingSocks SocketError.swift
[26/46] Compiling FlyingSocks SocketPool+Poll.swift
[27/46] Compiling FlyingSocks ConsumingAsyncSequence.swift
[28/46] Compiling FlyingSocks IdentifiableContinuation.swift
[29/46] Compiling FlyingSocks Logging+OSLog.swift
[30/46] Compiling FlyingSocks AsyncChunkedSequence.swift
[31/46] Compiling FlyingSocks AsyncSharedReplaySequence.swift
[32/46] Compiling FlyingSocks AsyncSocket.swift
[33/46] Compiling FlyingSocks AsyncBufferedFileSequence.swift
[34/46] Compiling FlyingSocks AsyncBufferedSequence+Extensions.swift
[35/46] Compiling FlyingSocks AsyncBufferedSequence.swift
[36/46] Compiling FlyingSocks AllocatedLock.swift
[37/46] Compiling FlyingSocks AsyncBufferedCollection.swift
[38/46] Compiling FlyingSocks AsyncBufferedEmptySequence.swift
[39/46] Compiling SnapshotSharedModels SnapshotCanvasTheme.swift
[40/46] Compiling SnapshotSharedModels SnapshotGroup.swift
[41/46] Compiling SnapshotSharedModels RenderingMode.swift
[42/46] Emitting module SnapshotSharedModels
[43/46] Compiling SnapshotSharedModels SnapshotMetadataValue.swift
[44/113] Emitting module FlyingFox
[45/117] Compiling SnapshotPreviewsCore RenderingStrategy.swift
[46/117] Compiling FlyingFox HTTPLogging.swift
[47/117] Compiling FlyingFox HTTPMethod.swift
[48/117] Compiling FlyingFox HTTPRequest+Address.swift
[49/117] Compiling SnapshotPreviewsCore AppKitRenderingStrategy.swift
[50/117] Compiling SnapshotPreviewsCore UIViewWrapper.swift
[51/117] Compiling SnapshotPreviewsCore View+Snapshot.swift
[52/117] Compiling SnapshotPreviewsCore PreferredColorSchemeWrapper.swift
[53/117] Compiling SnapshotPreviewsCore Orientation.swift
[54/117] Compiling SnapshotPreviewsCore UIImage+EMG.swift
[55/117] Compiling SnapshotPreviewsCore UIKitRenderingStrategy.swift
[56/117] Compiling SnapshotPreviewsCore ActivityIndicatorFreezing.swift
[57/117] Compiling FlyingFox UncheckedSendable.swift
[58/117] Compiling FlyingFox AsyncStream+WSFrame.swift
[59/117] Compiling FlyingFox SHA1.swift
[60/117] Compiling FlyingFox WSFrame.swift
[61/117] Compiling FlyingFox RoutedHTTPHandler.swift
[62/117] Compiling FlyingFox WebSocketHTTPHandler.swift
[63/117] Compiling FlyingFox SocketAddress+Glibc.swift
[64/117] Compiling FlyingFox URLSession+Async.swift
[65/117] Compiling SnapshotPreviewsCore SnapshotPreviewsCore.swift
[66/117] Compiling SnapshotPreviewsCore String+Split.swift
[67/117] Compiling SnapshotPreviewsCore SwiftUIRenderingStrategy.swift
[68/117] Compiling SnapshotPreviewsCore NSImage+EMG.swift
[69/117] Compiling SnapshotPreviewsCore MetadataTypes.swift
[70/117] Compiling SnapshotPreviewsCore ModifierFinder.swift
[71/117] Compiling SnapshotPreviewsCore ConformanceLookup.swift
[72/117] Compiling SnapshotPreviewsCore ExpandingViewController.swift
[73/117] Compiling SnapshotPreviewsCore ScrollExpansion.swift
[74/117] Compiling FlyingFox AsyncSequence+Extensions.swift
[75/117] Compiling FlyingFox HTTPBodyPattern.swift
[76/117] Compiling FlyingFox HTTPBodySequence.swift
[77/117] Compiling FlyingFox HTTPChunkedEncodedSequence.swift
[78/117] Compiling FlyingFox HTTPClient.swift
[79/117] Compiling FlyingFox HTTPRoute.swift
[80/117] Compiling FlyingFox HTTPRouteParameterValue.swift
[81/117] Compiling FlyingFox HTTPServer+Configuration.swift
[82/117] Compiling FlyingFox HTTPServer+Listening.swift
[83/117] Compiling FlyingFox WSFrameEncoder.swift
[84/117] Compiling FlyingFox WSFrameValidator.swift
[85/117] Compiling FlyingFox WSHandler.swift
[86/117] Compiling FlyingFox WSMessage.swift
[87/117] Compiling SnapshotPreferences RenderingModePreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/RenderingModePreference.swift:17:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | static var defaultValue: EmergeRenderingMode.RawValue? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
[88/117] Compiling SnapshotPreferences SnapshotMetadataPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/SnapshotMetadataPreference.swift:10:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | struct SnapshotTagsPreferenceKey: PreferenceKey {
10 | static var defaultValue: [String: String] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | static func reduce(value: inout [String: String], nextValue: () -> [String: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/SnapshotMetadataPreference.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct SnapshotGroupPreferenceKey: PreferenceKey {
18 | static var defaultValue: SnapshotGroup? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static func reduce(value: inout SnapshotGroup?, nextValue: () -> SnapshotGroup?) {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/SnapshotMetadataPreference.swift:26:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct SnapshotAdditionalContextPreferenceKey: PreferenceKey {
26 | static var defaultValue: [String: SnapshotMetadataValue] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static func reduce(
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/SnapshotMetadataPreference.swift:37:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | struct SnapshotCanvasThemePreferenceKey: PreferenceKey {
37 | static var defaultValue: SnapshotCanvasTheme? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | static func reduce(value: inout SnapshotCanvasTheme?, nextValue: () -> SnapshotCanvasTheme?) {
[89/117] Compiling SnapshotPreferences ExpansionPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/ExpansionPreference.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | static var defaultValue: Bool? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[90/117] Emitting module SnapshotPreferences
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/AccessibiltyPreference.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | static var defaultValue: Bool? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/AppStoreSnapshotPreference.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | static var defaultValue: Bool? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/EmergeModifierFinder.swift:20:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EmergeModifierState' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | @objc(EmergeModifierState)
17 | class EmergeModifierState: NSObject {
| `- note: class 'EmergeModifierState' does not conform to the 'Sendable' protocol
18 |
19 | @objc
20 | static let shared = EmergeModifierState()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EmergeModifierState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | func reset() {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/ExpansionPreference.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | static var defaultValue: Bool? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/PrecisionPreference.swift:16:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | static var defaultValue: Float? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/RenderingModePreference.swift:17:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | static var defaultValue: EmergeRenderingMode.RawValue? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/SnapshotMetadataPreference.swift:10:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | struct SnapshotTagsPreferenceKey: PreferenceKey {
10 | static var defaultValue: [String: String] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | static func reduce(value: inout [String: String], nextValue: () -> [String: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/SnapshotMetadataPreference.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | struct SnapshotGroupPreferenceKey: PreferenceKey {
18 | static var defaultValue: SnapshotGroup? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static func reduce(value: inout SnapshotGroup?, nextValue: () -> SnapshotGroup?) {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/SnapshotMetadataPreference.swift:26:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct SnapshotAdditionalContextPreferenceKey: PreferenceKey {
26 | static var defaultValue: [String: SnapshotMetadataValue] = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static func reduce(
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/SnapshotMetadataPreference.swift:37:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | struct SnapshotCanvasThemePreferenceKey: PreferenceKey {
37 | static var defaultValue: SnapshotCanvasTheme? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | static func reduce(value: inout SnapshotCanvasTheme?, nextValue: () -> SnapshotCanvasTheme?) {
[91/117] Compiling SnapshotPreferences DiffThresholdPreference.swift
[92/117] Compiling SnapshotPreferences AccessibiltyPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/AccessibiltyPreference.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | static var defaultValue: Bool? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[93/117] Compiling SnapshotPreferences AppStoreSnapshotPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/AppStoreSnapshotPreference.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | static var defaultValue: Bool? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[94/117] Compiling SnapshotPreferences EmergeModifierFinder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/EmergeModifierFinder.swift:20:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EmergeModifierState' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | @objc(EmergeModifierState)
17 | class EmergeModifierState: NSObject {
| `- note: class 'EmergeModifierState' does not conform to the 'Sendable' protocol
18 |
19 | @objc
20 | static let shared = EmergeModifierState()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EmergeModifierState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | func reset() {
[95/117] Compiling SnapshotPreferences PrecisionPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreferences/PrecisionPreference.swift:16:14: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | static var defaultValue: Float? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:112:7: warning: main actor-isolated property 'contentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
16 |
17 | protocol ContentHeightProviding {
18 | var contentHeight: CGFloat { get }
| `- note: requirement 'contentHeight' declared here
19 |
20 | var visibleContentHeight: CGFloat { get }
:
108 |
109 | #if canImport(AppKit) && !targetEnvironment(macCatalyst)
110 | extension NSScrollView: ContentHeightProviding {
| `- note: add '@preconcurrency' to the 'ContentHeightProviding' conformance to defer isolation checking to run time
111 |
112 | var contentHeight: CGFloat {
| `- warning: main actor-isolated property 'contentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
113 | documentView?.frame.size.height ?? 0
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:116:7: warning: main actor-isolated property 'visibleContentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
18 | var contentHeight: CGFloat { get }
19 |
20 | var visibleContentHeight: CGFloat { get }
| `- note: requirement 'visibleContentHeight' declared here
21 | }
22 |
:
114 | }
115 |
116 | var visibleContentHeight: CGFloat {
| `- warning: main actor-isolated property 'visibleContentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
117 | frame.height - (contentInsets.top + contentInsets.bottom)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:122:7: warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: requirement 'firstScrollView' declared here
25 | }
26 |
:
119 | }
120 |
121 | extension NSView: FirstScrollViewProviding {
| `- note: add '@preconcurrency' to the 'FirstScrollViewProviding' conformance to defer isolation checking to run time
122 | var firstScrollView: ContentHeightProviding? {
| `- warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
123 | var subviews = subviews
124 | while !subviews.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:141:7: warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: requirement 'firstScrollView' declared here
25 | }
26 |
:
138 | }
139 |
140 | extension NSViewController: FirstScrollViewProviding {
| `- note: add '@preconcurrency' to the 'FirstScrollViewProviding' conformance to defer isolation checking to run time
141 | var firstScrollView: ContentHeightProviding? {
| `- warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
142 | view.firstScrollView
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/SnapshotPreviewsCore.swift:97:23: warning: main actor-isolated static property '_allPreviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
95 | self.fileID = nil
96 | self.line = nil
97 | self.previews = A._allPreviews.map { Preview(preview: $0, type: A.self) }
| `- warning: main actor-isolated static property '_allPreviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | self.platform = A.platform
99 | }
SwiftUI._PreviewProvider._allPreviews:2:46: note: static property declared here
1 | protocol _PreviewProvider {
2 | @MainActor @preconcurrency public static var _allPreviews: [_Preview] { get }}
| `- note: static property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/SnapshotPreviewsCore.swift:98:23: warning: main actor-isolated static property 'platform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
96 | self.line = nil
97 | self.previews = A._allPreviews.map { Preview(preview: $0, type: A.self) }
98 | self.platform = A.platform
| `- warning: main actor-isolated static property 'platform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | }
100 |
SwiftUI.PreviewProvider.platform:2:39: note: static property declared here
1 | protocol PreviewProvider {
2 | @MainActor @preconcurrency static var platform: PreviewPlatform? { get }}
| `- note: static property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/SnapshotPreviewsCore.swift:13:49: warning: sending 'preview' risks causing data races; this is an error in the Swift 6 language mode
11 | layout = preview.layout
12 | _view = {
13 | ViewSelectorTree(SnapshotViewModel(index: preview.id)) {
| |- warning: sending 'preview' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'preview' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
14 | P.previews
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:112:7: warning: main actor-isolated property 'contentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
16 |
17 | protocol ContentHeightProviding {
18 | var contentHeight: CGFloat { get }
| `- note: requirement 'contentHeight' declared here
19 |
20 | var visibleContentHeight: CGFloat { get }
:
108 |
109 | #if canImport(AppKit) && !targetEnvironment(macCatalyst)
110 | extension NSScrollView: ContentHeightProviding {
| `- note: add '@preconcurrency' to the 'ContentHeightProviding' conformance to defer isolation checking to run time
111 |
112 | var contentHeight: CGFloat {
| `- warning: main actor-isolated property 'contentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
113 | documentView?.frame.size.height ?? 0
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:116:7: warning: main actor-isolated property 'visibleContentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
18 | var contentHeight: CGFloat { get }
19 |
20 | var visibleContentHeight: CGFloat { get }
| `- note: requirement 'visibleContentHeight' declared here
21 | }
22 |
:
114 | }
115 |
116 | var visibleContentHeight: CGFloat {
| `- warning: main actor-isolated property 'visibleContentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
117 | frame.height - (contentInsets.top + contentInsets.bottom)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:122:7: warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: requirement 'firstScrollView' declared here
25 | }
26 |
:
119 | }
120 |
121 | extension NSView: FirstScrollViewProviding {
| `- note: add '@preconcurrency' to the 'FirstScrollViewProviding' conformance to defer isolation checking to run time
122 | var firstScrollView: ContentHeightProviding? {
| `- warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
123 | var subviews = subviews
124 | while !subviews.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:141:7: warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: requirement 'firstScrollView' declared here
25 | }
26 |
:
138 | }
139 |
140 | extension NSViewController: FirstScrollViewProviding {
| `- note: add '@preconcurrency' to the 'FirstScrollViewProviding' conformance to defer isolation checking to run time
141 | var firstScrollView: ContentHeightProviding? {
| `- warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
142 | view.firstScrollView
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/SnapshotPreviewsCore.swift:97:23: warning: main actor-isolated static property '_allPreviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
95 | self.fileID = nil
96 | self.line = nil
97 | self.previews = A._allPreviews.map { Preview(preview: $0, type: A.self) }
| `- warning: main actor-isolated static property '_allPreviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
98 | self.platform = A.platform
99 | }
SwiftUI._PreviewProvider._allPreviews:2:46: note: static property declared here
1 | protocol _PreviewProvider {
2 | @MainActor @preconcurrency public static var _allPreviews: [_Preview] { get }}
| `- note: static property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/SnapshotPreviewsCore.swift:98:23: warning: main actor-isolated static property 'platform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
96 | self.line = nil
97 | self.previews = A._allPreviews.map { Preview(preview: $0, type: A.self) }
98 | self.platform = A.platform
| `- warning: main actor-isolated static property 'platform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | }
100 |
SwiftUI.PreviewProvider.platform:2:39: note: static property declared here
1 | protocol PreviewProvider {
2 | @MainActor @preconcurrency static var platform: PreviewPlatform? { get }}
| `- note: static property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/SnapshotPreviewsCore.swift:13:49: warning: sending 'preview' risks causing data races; this is an error in the Swift 6 language mode
11 | layout = preview.layout
12 | _view = {
13 | ViewSelectorTree(SnapshotViewModel(index: preview.id)) {
| |- warning: sending 'preview' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'preview' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
14 | P.previews
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:12:13: warning: let 'modifierFinderClass' is not concurrency-safe because non-'Sendable' type 'NSObject?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import SnapshotSharedModels
11 |
12 | private let modifierFinderClass = (NSClassFromString("EmergeModifierFinder") as? NSObject.Type)?.init()
| `- warning: let 'modifierFinderClass' is not concurrency-safe because non-'Sendable' type 'NSObject?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:53:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
51 | OBJC_ROOT_CLASS
52 | OBJC_EXPORT
53 | @interface NSObject <NSObject> {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
54 | #pragma clang diagnostic push
55 | #pragma clang diagnostic ignored "-Wobjc-interface-ivars"
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
9 | import SwiftUI
10 | import SnapshotSharedModels
11 |
12 | private let modifierFinderClass = (NSClassFromString("EmergeModifierFinder") as? NSObject.Type)?.init()
| |- note: add '@MainActor' to make let 'modifierFinderClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:13:13: warning: let 'finder' is not concurrency-safe because non-'Sendable' type '((any View) -> any View)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | private let modifierFinderClass = (NSClassFromString("EmergeModifierFinder") as? NSObject.Type)?.init()
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
| |- warning: let 'finder' is not concurrency-safe because non-'Sendable' type '((any View) -> any View)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'finder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
15 | private let stateMirror = modifierState != nil ? Mirror(
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:15:13: warning: let 'stateMirror' is not concurrency-safe because non-'Sendable' type 'Mirror?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
15 | private let stateMirror = modifierState != nil ? Mirror(
| |- warning: let 'stateMirror' is not concurrency-safe because non-'Sendable' type 'Mirror?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stateMirror' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | reflecting: modifierState!
17 | .perform(NSSelectorFromString("shared"))
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:12:13: warning: let 'modifierFinderClass' is not concurrency-safe because non-'Sendable' type 'NSObject?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import SnapshotSharedModels
11 |
12 | private let modifierFinderClass = (NSClassFromString("EmergeModifierFinder") as? NSObject.Type)?.init()
| `- warning: let 'modifierFinderClass' is not concurrency-safe because non-'Sendable' type 'NSObject?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:53:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
51 | OBJC_ROOT_CLASS
52 | OBJC_EXPORT
53 | @interface NSObject <NSObject> {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
54 | #pragma clang diagnostic push
55 | #pragma clang diagnostic ignored "-Wobjc-interface-ivars"
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
9 | import SwiftUI
10 | import SnapshotSharedModels
11 |
12 | private let modifierFinderClass = (NSClassFromString("EmergeModifierFinder") as? NSObject.Type)?.init()
| |- note: add '@MainActor' to make let 'modifierFinderClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:13:13: warning: let 'finder' is not concurrency-safe because non-'Sendable' type '((any View) -> any View)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | private let modifierFinderClass = (NSClassFromString("EmergeModifierFinder") as? NSObject.Type)?.init()
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
| |- warning: let 'finder' is not concurrency-safe because non-'Sendable' type '((any View) -> any View)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'finder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
15 | private let stateMirror = modifierState != nil ? Mirror(
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:15:13: warning: let 'stateMirror' is not concurrency-safe because non-'Sendable' type 'Mirror?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
15 | private let stateMirror = modifierState != nil ? Mirror(
| |- warning: let 'stateMirror' is not concurrency-safe because non-'Sendable' type 'Mirror?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stateMirror' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | reflecting: modifierState!
17 | .perform(NSSelectorFromString("shared"))
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[110/118] Emitting module SnapshotPreviewsCore
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:22:13: warning: var '_colorScheme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | private var _colorScheme: ColorScheme? = nil
| |- warning: var '_colorScheme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_colorScheme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_colorScheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public class AppKitRenderingStrategy: RenderingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:121:7: warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
113 | }
114 |
115 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
| `- note: add '@preconcurrency' to the 'ScrollExpansionProviding' conformance to defer isolation checking to run time
116 |
117 | var supportsExpansion: Bool {
:
119 | }
120 | var heightAnchor: NSLayoutConstraint?
121 | var previousHeight: CGFloat?
| `- warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
122 |
123 | public var rendered: ((EmergeRenderingMode?, Float?, Bool?, Bool?, [String: String], [String: SnapshotMetadataValue], SnapshotGroup?, SnapshotCanvasTheme?) -> Void)? {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:29:7: note: requirement 'previousHeight' declared here
27 | #if !os(watchOS)
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
| `- note: requirement 'previousHeight' declared here
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:120:7: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
118 | rootView.supportsExpansion
119 | }
120 | var heightAnchor: NSLayoutConstraint?
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
121 | var previousHeight: CGFloat?
122 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:30:7: note: requirement 'heightAnchor' declared here
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
| `- note: requirement 'heightAnchor' declared here
31 | var supportsExpansion: Bool { get }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:117:7: warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
115 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
116 |
117 | var supportsExpansion: Bool {
| `- warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
118 | rootView.supportsExpansion
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:31:7: note: requirement 'supportsExpansion' declared here
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
| `- note: requirement 'supportsExpansion' declared here
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:12:13: warning: let 'modifierFinderClass' is not concurrency-safe because non-'Sendable' type 'NSObject?' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import SnapshotSharedModels
11 |
12 | private let modifierFinderClass = (NSClassFromString("EmergeModifierFinder") as? NSObject.Type)?.init()
| `- warning: let 'modifierFinderClass' is not concurrency-safe because non-'Sendable' type 'NSObject?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:53:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
51 | OBJC_ROOT_CLASS
52 | OBJC_EXPORT
53 | @interface NSObject <NSObject> {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
54 | #pragma clang diagnostic push
55 | #pragma clang diagnostic ignored "-Wobjc-interface-ivars"
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
9 | import SwiftUI
10 | import SnapshotSharedModels
11 |
12 | private let modifierFinderClass = (NSClassFromString("EmergeModifierFinder") as? NSObject.Type)?.init()
| |- note: add '@MainActor' to make let 'modifierFinderClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:13:13: warning: let 'finder' is not concurrency-safe because non-'Sendable' type '((any View) -> any View)?' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | private let modifierFinderClass = (NSClassFromString("EmergeModifierFinder") as? NSObject.Type)?.init()
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
| |- warning: let 'finder' is not concurrency-safe because non-'Sendable' type '((any View) -> any View)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'finder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
15 | private let stateMirror = modifierState != nil ? Mirror(
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ModifierFinder.swift:15:13: warning: let 'stateMirror' is not concurrency-safe because non-'Sendable' type 'Mirror?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | private let finder = modifierFinderClass != nil ? Mirror(reflecting: modifierFinderClass!).descendant("finder") as? (any View) -> any View : nil
14 | private let modifierState = NSClassFromString("EmergeModifierState") as? NSObject.Type
15 | private let stateMirror = modifierState != nil ? Mirror(
| |- warning: let 'stateMirror' is not concurrency-safe because non-'Sendable' type 'Mirror?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stateMirror' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | reflecting: modifierState!
17 | .perform(NSSelectorFromString("shared"))
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:112:7: warning: main actor-isolated property 'contentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
16 |
17 | protocol ContentHeightProviding {
18 | var contentHeight: CGFloat { get }
| `- note: requirement 'contentHeight' declared here
19 |
20 | var visibleContentHeight: CGFloat { get }
:
108 |
109 | #if canImport(AppKit) && !targetEnvironment(macCatalyst)
110 | extension NSScrollView: ContentHeightProviding {
| `- note: add '@preconcurrency' to the 'ContentHeightProviding' conformance to defer isolation checking to run time
111 |
112 | var contentHeight: CGFloat {
| `- warning: main actor-isolated property 'contentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
113 | documentView?.frame.size.height ?? 0
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:116:7: warning: main actor-isolated property 'visibleContentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
18 | var contentHeight: CGFloat { get }
19 |
20 | var visibleContentHeight: CGFloat { get }
| `- note: requirement 'visibleContentHeight' declared here
21 | }
22 |
:
114 | }
115 |
116 | var visibleContentHeight: CGFloat {
| `- warning: main actor-isolated property 'visibleContentHeight' cannot be used to satisfy nonisolated requirement from protocol 'ContentHeightProviding'; this is an error in the Swift 6 language mode
117 | frame.height - (contentInsets.top + contentInsets.bottom)
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:122:7: warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: requirement 'firstScrollView' declared here
25 | }
26 |
:
119 | }
120 |
121 | extension NSView: FirstScrollViewProviding {
| `- note: add '@preconcurrency' to the 'FirstScrollViewProviding' conformance to defer isolation checking to run time
122 | var firstScrollView: ContentHeightProviding? {
| `- warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
123 | var subviews = subviews
124 | while !subviews.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:141:7: warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: requirement 'firstScrollView' declared here
25 | }
26 |
:
138 | }
139 |
140 | extension NSViewController: FirstScrollViewProviding {
| `- note: add '@preconcurrency' to the 'FirstScrollViewProviding' conformance to defer isolation checking to run time
141 | var firstScrollView: ContentHeightProviding? {
| `- warning: main actor-isolated property 'firstScrollView' cannot be used to satisfy nonisolated requirement from protocol 'FirstScrollViewProviding'; this is an error in the Swift 6 language mode
142 | view.firstScrollView
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:22:13: warning: var '_colorScheme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | private var _colorScheme: ColorScheme? = nil
| |- warning: var '_colorScheme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_colorScheme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_colorScheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public class AppKitRenderingStrategy: RenderingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:121:7: warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
113 | }
114 |
115 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
| `- note: add '@preconcurrency' to the 'ScrollExpansionProviding' conformance to defer isolation checking to run time
116 |
117 | var supportsExpansion: Bool {
:
119 | }
120 | var heightAnchor: NSLayoutConstraint?
121 | var previousHeight: CGFloat?
| `- warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
122 |
123 | public var rendered: ((EmergeRenderingMode?, Float?, Bool?, Bool?, [String: String], [String: SnapshotMetadataValue], SnapshotGroup?, SnapshotCanvasTheme?) -> Void)? {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:29:7: note: requirement 'previousHeight' declared here
27 | #if !os(watchOS)
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
| `- note: requirement 'previousHeight' declared here
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:120:7: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
118 | rootView.supportsExpansion
119 | }
120 | var heightAnchor: NSLayoutConstraint?
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
121 | var previousHeight: CGFloat?
122 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:30:7: note: requirement 'heightAnchor' declared here
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
| `- note: requirement 'heightAnchor' declared here
31 | var supportsExpansion: Bool { get }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:117:7: warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
115 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
116 |
117 | var supportsExpansion: Bool {
| `- warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
118 | rootView.supportsExpansion
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:31:7: note: requirement 'supportsExpansion' declared here
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
| `- note: requirement 'supportsExpansion' declared here
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:29:14: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | public init() {
29 | window = BorderlessWindow()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | window.makeKeyAndOrderFront(nil)
31 | }
/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 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:30:12: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | public init() {
29 | window = BorderlessWindow()
30 | window.makeKeyAndOrderFront(nil)
| `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | }
32 |
AppKit.NSWindow.makeKeyAndOrderFront:2:22: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func makeKeyAndOrderFront(_ sender: Any?)}
| |- note: calls to instance method 'makeKeyAndOrderFront' 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/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:72:41: warning: call to main actor-isolated instance method 'layerSnapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 |
69 | private static func takeSnapshot(mode: EmergeRenderingMode, viewController: NSViewController?, window: NSWindow?, completion: @escaping (NSImage?) -> Void) {
| `- note: add '@MainActor' to make static method 'takeSnapshot(mode:viewController:window:completion:)' part of global actor 'MainActor'
70 | switch mode {
71 | case .coreAnimation:
72 | completion(viewController?.view.layerSnapshot())
| `- warning: call to main actor-isolated instance method 'layerSnapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
73 | case .nsView:
74 | completion(viewController?.view.snapshot())
:
205 | }
206 |
207 | func layerSnapshot() -> NSImage? {
| |- note: calls to instance method 'layerSnapshot()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
208 | let scale = window?.backingScaleFactor ?? 1
209 | let height = Int(bounds.size.height * scale)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:72:36: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 |
69 | private static func takeSnapshot(mode: EmergeRenderingMode, viewController: NSViewController?, window: NSWindow?, completion: @escaping (NSImage?) -> Void) {
| `- note: add '@MainActor' to make static method 'takeSnapshot(mode:viewController:window:completion:)' part of global actor 'MainActor'
70 | switch mode {
71 | case .coreAnimation:
72 | completion(viewController?.view.layerSnapshot())
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 | case .nsView:
74 | completion(viewController?.view.snapshot())
/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/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:74:39: warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 |
69 | private static func takeSnapshot(mode: EmergeRenderingMode, viewController: NSViewController?, window: NSWindow?, completion: @escaping (NSImage?) -> Void) {
| `- note: add '@MainActor' to make static method 'takeSnapshot(mode:viewController:window:completion:)' part of global actor 'MainActor'
70 | switch mode {
71 | case .coreAnimation:
72 | completion(viewController?.view.layerSnapshot())
73 | case .nsView:
74 | completion(viewController?.view.snapshot())
| `- warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | case .window:
76 | if let window {
:
192 |
193 | extension NSView {
194 | func snapshot() -> NSImage? {
| |- note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
195 | guard let bitmapRep = bitmapImageRepForCachingDisplay(in: bounds) else {
196 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:74:34: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 |
69 | private static func takeSnapshot(mode: EmergeRenderingMode, viewController: NSViewController?, window: NSWindow?, completion: @escaping (NSImage?) -> Void) {
| `- note: add '@MainActor' to make static method 'takeSnapshot(mode:viewController:window:completion:)' part of global actor 'MainActor'
70 | switch mode {
71 | case .coreAnimation:
72 | completion(viewController?.view.layerSnapshot())
73 | case .nsView:
74 | completion(viewController?.view.snapshot())
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
75 | case .window:
76 | if let window {
/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/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:92:26: warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
89 | }
90 |
91 | func trySnapshot(attempt: Int) {
| `- note: add '@MainActor' to make local function 'trySnapshot(attempt:)' part of global actor 'MainActor'
92 | let image = window.snapshot()
| `- warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | if image != nil || attempt >= maxAttempts {
:
227 |
228 | extension NSWindow {
229 | func snapshot() -> NSImage? {
| |- note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
230 | guard let cgImage = CGWindowListCreateImage(.null,
231 | .optionIncludingWindow,
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:106:74: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
104 | let exponentialDelay = baseDelay * pow(2.0, Double(attempt - 1))
105 |
106 | DispatchQueue.main.asyncAfter(deadline: .now() + exponentialDelay) {
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
107 | trySnapshot(attempt: attempt + 1)
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:22:13: warning: var '_colorScheme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | private var _colorScheme: ColorScheme? = nil
| |- warning: var '_colorScheme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_colorScheme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_colorScheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public class AppKitRenderingStrategy: RenderingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:121:7: warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
113 | }
114 |
115 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
| `- note: add '@preconcurrency' to the 'ScrollExpansionProviding' conformance to defer isolation checking to run time
116 |
117 | var supportsExpansion: Bool {
:
119 | }
120 | var heightAnchor: NSLayoutConstraint?
121 | var previousHeight: CGFloat?
| `- warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
122 |
123 | public var rendered: ((EmergeRenderingMode?, Float?, Bool?, Bool?, [String: String], [String: SnapshotMetadataValue], SnapshotGroup?, SnapshotCanvasTheme?) -> Void)? {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:29:7: note: requirement 'previousHeight' declared here
27 | #if !os(watchOS)
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
| `- note: requirement 'previousHeight' declared here
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:120:7: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
118 | rootView.supportsExpansion
119 | }
120 | var heightAnchor: NSLayoutConstraint?
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
121 | var previousHeight: CGFloat?
122 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:30:7: note: requirement 'heightAnchor' declared here
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
| `- note: requirement 'heightAnchor' declared here
31 | var supportsExpansion: Bool { get }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:117:7: warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
115 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
116 |
117 | var supportsExpansion: Bool {
| `- warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated requirement from protocol 'ScrollExpansionProviding'; this is an error in the Swift 6 language mode
118 | rootView.supportsExpansion
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:31:7: note: requirement 'supportsExpansion' declared here
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
| `- note: requirement 'supportsExpansion' declared here
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:29:14: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | public init() {
29 | window = BorderlessWindow()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | window.makeKeyAndOrderFront(nil)
31 | }
/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 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:30:12: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | public init() {
29 | window = BorderlessWindow()
30 | window.makeKeyAndOrderFront(nil)
| `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | }
32 |
AppKit.NSWindow.makeKeyAndOrderFront:2:22: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func makeKeyAndOrderFront(_ sender: Any?)}
| |- note: calls to instance method 'makeKeyAndOrderFront' 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/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:72:41: warning: call to main actor-isolated instance method 'layerSnapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 |
69 | private static func takeSnapshot(mode: EmergeRenderingMode, viewController: NSViewController?, window: NSWindow?, completion: @escaping (NSImage?) -> Void) {
| `- note: add '@MainActor' to make static method 'takeSnapshot(mode:viewController:window:completion:)' part of global actor 'MainActor'
70 | switch mode {
71 | case .coreAnimation:
72 | completion(viewController?.view.layerSnapshot())
| `- warning: call to main actor-isolated instance method 'layerSnapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
73 | case .nsView:
74 | completion(viewController?.view.snapshot())
:
205 | }
206 |
207 | func layerSnapshot() -> NSImage? {
| |- note: calls to instance method 'layerSnapshot()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
208 | let scale = window?.backingScaleFactor ?? 1
209 | let height = Int(bounds.size.height * scale)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:72:36: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 |
69 | private static func takeSnapshot(mode: EmergeRenderingMode, viewController: NSViewController?, window: NSWindow?, completion: @escaping (NSImage?) -> Void) {
| `- note: add '@MainActor' to make static method 'takeSnapshot(mode:viewController:window:completion:)' part of global actor 'MainActor'
70 | switch mode {
71 | case .coreAnimation:
72 | completion(viewController?.view.layerSnapshot())
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 | case .nsView:
74 | completion(viewController?.view.snapshot())
/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/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:74:39: warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 |
69 | private static func takeSnapshot(mode: EmergeRenderingMode, viewController: NSViewController?, window: NSWindow?, completion: @escaping (NSImage?) -> Void) {
| `- note: add '@MainActor' to make static method 'takeSnapshot(mode:viewController:window:completion:)' part of global actor 'MainActor'
70 | switch mode {
71 | case .coreAnimation:
72 | completion(viewController?.view.layerSnapshot())
73 | case .nsView:
74 | completion(viewController?.view.snapshot())
| `- warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | case .window:
76 | if let window {
:
192 |
193 | extension NSView {
194 | func snapshot() -> NSImage? {
| |- note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
195 | guard let bitmapRep = bitmapImageRepForCachingDisplay(in: bounds) else {
196 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:74:34: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 |
69 | private static func takeSnapshot(mode: EmergeRenderingMode, viewController: NSViewController?, window: NSWindow?, completion: @escaping (NSImage?) -> Void) {
| `- note: add '@MainActor' to make static method 'takeSnapshot(mode:viewController:window:completion:)' part of global actor 'MainActor'
70 | switch mode {
71 | case .coreAnimation:
72 | completion(viewController?.view.layerSnapshot())
73 | case .nsView:
74 | completion(viewController?.view.snapshot())
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
75 | case .window:
76 | if let window {
/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/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:92:26: warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
89 | }
90 |
91 | func trySnapshot(attempt: Int) {
| `- note: add '@MainActor' to make local function 'trySnapshot(attempt:)' part of global actor 'MainActor'
92 | let image = window.snapshot()
| `- warning: call to main actor-isolated instance method 'snapshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | if image != nil || attempt >= maxAttempts {
:
227 |
228 | extension NSWindow {
229 | func snapshot() -> NSImage? {
| |- note: calls to instance method 'snapshot()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
230 | guard let cgImage = CGWindowListCreateImage(.null,
231 | .optionIncludingWindow,
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:106:74: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
104 | let exponentialDelay = baseDelay * pow(2.0, Double(attempt - 1))
105 |
106 | DispatchQueue.main.asyncAfter(deadline: .now() + exponentialDelay) {
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
107 | trySnapshot(attempt: attempt + 1)
108 | }
[115/118] Compiling SnapshotPreviewsCore ViewSelector.swift
[116/143] Compiling PreviewGallery PreviewGallery.swift
[117/143] Compiling PreviewGallery PreviewData.swift
[118/143] Compiling PreviewGallery PreviewsDetail.swift
[119/144] Compiling PreviewGallery Preview+FullScreen.swift
[120/144] Compiling PreviewGallery PreviewCell.swift
[121/144] Compiling PreviewGallery ModulePreviews.swift
[122/144] Emitting module PreviewGallery
[123/144] Compiling PreviewGallery Array+Filter.swift
[124/144] Compiling PreviewGallery Checkerboard.swift
[125/144] Compiling PreviewGallery ModuleScreens.swift
[126/144] Compiling PreviewGallery Colors.swift
[127/144] Compiling SnapshottingSwift Initializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingSwift/Initializer.swift:17:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Initializer' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | @objc
14 | public class Initializer: NSObject {
| `- note: class 'Initializer' does not conform to the 'Sendable' protocol
15 |
16 | @objc
17 | static public let shared = Initializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Initializer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | override init() {
[128/144] Emitting module SnapshottingSwift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingSwift/Initializer.swift:17:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Initializer' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | @objc
14 | public class Initializer: NSObject {
| `- note: class 'Initializer' does not conform to the 'Sendable' protocol
15 |
16 | @objc
17 | static public let shared = Initializer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Initializer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | override init() {
[129/144] Compiling SnapshottingSwift Snapshots.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingSwift/Snapshots.swift:60:17: warning: capture of 'self' with non-sendable type 'Snapshots?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
24 | }
25 |
26 | class Snapshots {
| `- note: class 'Snapshots' does not conform to the 'Sendable' protocol
27 | let server = HTTPServer(address: .loopback(port: 38824))
28 |
:
58 | await server.appendRoute("GET /display/*") { [weak self] request in
59 | let pathComponents = request.path.components(separatedBy: "/")
60 | guard let self, pathComponents.count > 3 else {
| `- warning: capture of 'self' with non-sendable type 'Snapshots?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 | return HTTPResponse(statusCode: .badRequest)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingSwift/Snapshots.swift:68:42: warning: non-sendable result type '(Result<ImageType, any Error>, Preview)' (aka '(Result<NSImage, any Error>, Preview)') cannot be sent from main actor-isolated context in call to instance method 'render(typeName:id:)'; this is an error in the Swift 6 language mode
66 |
67 | var result: [String: String] = [:]
68 | let (imageResult, preview) = await render(typeName: typeName, id: id)
| `- warning: non-sendable result type '(Result<ImageType, any Error>, Preview)' (aka '(Result<NSImage, any Error>, Preview)') cannot be sent from main actor-isolated context in call to instance method 'render(typeName:id:)'; this is an error in the Swift 6 language mode
69 |
70 | if let displayName = preview.displayName {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingSwift/Snapshots.swift:41:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
39 | }
40 | #endif
41 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 | try await startServer()
| `- note: closure captures 'self' which is accessible to code in the current task
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingSwift/Snapshots.swift:112:22: warning: sending 'result.image' risks causing data races; this is an error in the Swift 6 language mode
110 | let result = await withCheckedContinuation { continuation in
111 | renderingStrategy.render(preview: preview) { result in
112 | continuation.resume(returning: result.image)
| |- warning: sending 'result.image' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result.image' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
113 | }
114 | }
[130/144] Compiling PreviewGallery TitleSubtitleRow.swift
[130/144] Compiling Snapshotting Initializer.m
[131/144] Write Objects.LinkFileList
[132/144] Linking libSnapshotting.dylib
[134/144] Compiling SnapshottingTests SnapshotPreviewDestination.swift
[135/144] Compiling SnapshottingTests SnapshotPreviewDeviceFilter.swift
[136/144] Compiling SnapshottingTests SnapshotCIExportCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotCIExportCoordinator.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
10 | import XCTest
11 | import SnapshotSharedModels
12 | @_implementationOnly import SnapshotPreviewsCore
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
13 |
14 | // MARK: - Snapshot Context
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotCIExportCoordinator.swift:315:27: warning: capture of 'image' with non-sendable type 'ImageType' (aka 'NSImage') in a '@Sendable' closure
313 | writeQueue.addOperation {
314 | let pngURL = exportDir.appendingPathComponent(pngFileName)
315 | guard let pngData = image.emg.pngData() else {
| `- warning: capture of 'image' with non-sendable type 'ImageType' (aka 'NSImage') in a '@Sendable' closure
316 | NSLog("[SnapshotCIExport] Failed to encode PNG for %@", pngFileName)
317 | return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
[137/145] Compiling SnapshottingTests DiscoveredPreview+PreviewType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/DiscoveredPreview+PreviewType.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import SnapshotPreviewsCore
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
10 |
11 | extension DiscoveredPreview {
[138/145] Compiling SnapshottingTests PreviewBaseTest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewBaseTest.swift:24:5: warning: var 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | var previews: [DiscoveredPreviewAndIndex] = []
| |- warning: var 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previews' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'previews' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @objc(EMGPreviewBaseTest)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewBaseTest.swift:29:14: warning: static property 'signatureCreator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | open class PreviewBaseTest: XCTestCase {
28 |
29 | static var signatureCreator: NSObject?
| |- warning: static property 'signatureCreator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'signatureCreator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'signatureCreator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | @objc
[139/145] Compiling SnapshottingTests PreviewFilters.swift
[140/145] Compiling SnapshottingTests FileNameUtils.swift
[141/145] Emitting module SnapshottingTests
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/DiscoveredPreview+PreviewType.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import SnapshotPreviewsCore
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
10 |
11 | extension DiscoveredPreview {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewLayoutTest.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import SnapshotPreviewsCore
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
10 | import SwiftUI
11 | import XCTest
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotCIExportCoordinator.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
10 | import XCTest
11 | import SnapshotSharedModels
12 | @_implementationOnly import SnapshotPreviewsCore
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
13 |
14 | // MARK: - Snapshot Context
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import SnapshotPreviewsCore
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
10 | import enum SwiftUI.ColorScheme
11 | import XCTest
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewBaseTest.swift:24:5: warning: var 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | var previews: [DiscoveredPreviewAndIndex] = []
| |- warning: var 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previews' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'previews' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @objc(EMGPreviewBaseTest)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewBaseTest.swift:29:14: warning: static property 'signatureCreator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | open class PreviewBaseTest: XCTestCase {
28 |
29 | static var signatureCreator: NSObject?
| |- warning: static property 'signatureCreator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'signatureCreator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'signatureCreator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | @objc
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewLayoutTest.swift:49:22: warning: static property 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 |
49 | static private var previews: [PreviewType] = []
| |- warning: static property 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previews' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previews' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Discovers all relevant previews based on inclusion and exclusion filters. Subclasses should NOT override this method.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:223:22: warning: static property 'renderingStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
221 | }
222 | #endif
223 | private static var renderingStrategy: RenderingStrategy? = nil
| |- warning: static property 'renderingStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderingStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'renderingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 | @MainActor private static var ciExportCoordinator: SnapshotCIExportCoordinator?
225 | @MainActor private static var allSnapshotImageNamesWriter: AllSnapshotImageNamesWriter?
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:227:22: warning: static property 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
225 | @MainActor private static var allSnapshotImageNamesWriter: AllSnapshotImageNamesWriter?
226 |
227 | static private var previews: [SnapshotPreviewsCore.PreviewType] = []
| |- warning: static property 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previews' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previews' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 | static private var fileNameResolver = FileNameResolver(previews: [])
229 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:228:22: warning: static property 'fileNameResolver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
226 |
227 | static private var previews: [SnapshotPreviewsCore.PreviewType] = []
228 | static private var fileNameResolver = FileNameResolver(previews: [])
| |- warning: static property 'fileNameResolver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fileNameResolver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fileNameResolver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | @MainActor
[142/145] Compiling SnapshottingTests PreviewLayoutTest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewLayoutTest.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import SnapshotPreviewsCore
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
10 | import SwiftUI
11 | import XCTest
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewLayoutTest.swift:49:22: warning: static property 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 |
49 | static private var previews: [PreviewType] = []
| |- warning: static property 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previews' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previews' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Discovers all relevant previews based on inclusion and exclusion filters. Subclasses should NOT override this method.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/AccessibilityPreviewTest.swift:28:5: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | ///
26 | /// - Returns: An instance of XCUIApplication.
27 | open class func getApp() -> XCUIApplication {
| `- note: add '@MainActor' to make class method 'getApp()' part of global actor 'MainActor'
28 | XCUIApplication()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:29:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
27 | * Returns a proxy for the application specified by the "Target Application" target setting.
28 | */
29 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
30 | + (instancetype)new;
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/AccessibilityPreviewTest.swift:148:9: warning: mutation of captured var 'resultPath' in concurrently-executing code
146 | let task = URLSession.shared.dataTask(with: request) { data, response, error in
147 | if let data = data, let stringData = String(data: data, encoding: .utf8) {
148 | resultPath = stringData
| `- warning: mutation of captured var 'resultPath' in concurrently-executing code
149 | }
150 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/AccessibilityPreviewTest.swift:185:7: warning: mutation of captured var 'resultData' in concurrently-executing code
183 | var resultData: Data?
184 | let task = URLSession.shared.dataTask(with: request) { data, response, error in
185 | resultData = data
| `- warning: mutation of captured var 'resultData' in concurrently-executing code
186 | expectation.fulfill()
187 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/AccessibilityPreviewTest.swift:28:5: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | ///
26 | /// - Returns: An instance of XCUIApplication.
27 | open class func getApp() -> XCUIApplication {
| `- note: add '@MainActor' to make class method 'getApp()' part of global actor 'MainActor'
28 | XCUIApplication()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:29:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
27 | * Returns a proxy for the application specified by the "Target Application" target setting.
28 | */
29 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
30 | + (instancetype)new;
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/AccessibilityPreviewTest.swift:148:9: warning: mutation of captured var 'resultPath' in concurrently-executing code
146 | let task = URLSession.shared.dataTask(with: request) { data, response, error in
147 | if let data = data, let stringData = String(data: data, encoding: .utf8) {
148 | resultPath = stringData
| `- warning: mutation of captured var 'resultPath' in concurrently-executing code
149 | }
150 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/AccessibilityPreviewTest.swift:185:7: warning: mutation of captured var 'resultData' in concurrently-executing code
183 | var resultData: Data?
184 | let task = URLSession.shared.dataTask(with: request) { data, response, error in
185 | resultData = data
| `- warning: mutation of captured var 'resultData' in concurrently-executing code
186 | expectation.fulfill()
187 | }
[145/145] Compiling SnapshottingTests SnapshotTest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:9:22: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
7 |
8 | import Foundation
9 | @_implementationOnly import SnapshotPreviewsCore
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshottingTests' may lead to instability during execution
10 | import enum SwiftUI.ColorScheme
11 | import XCTest
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:223:22: warning: static property 'renderingStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
221 | }
222 | #endif
223 | private static var renderingStrategy: RenderingStrategy? = nil
| |- warning: static property 'renderingStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderingStrategy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'renderingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 | @MainActor private static var ciExportCoordinator: SnapshotCIExportCoordinator?
225 | @MainActor private static var allSnapshotImageNamesWriter: AllSnapshotImageNamesWriter?
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:227:22: warning: static property 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
225 | @MainActor private static var allSnapshotImageNamesWriter: AllSnapshotImageNamesWriter?
226 |
227 | static private var previews: [SnapshotPreviewsCore.PreviewType] = []
| |- warning: static property 'previews' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'previews' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'previews' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 | static private var fileNameResolver = FileNameResolver(previews: [])
229 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:228:22: warning: static property 'fileNameResolver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
226 |
227 | static private var previews: [SnapshotPreviewsCore.PreviewType] = []
228 | static private var fileNameResolver = FileNameResolver(previews: [])
| |- warning: static property 'fileNameResolver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fileNameResolver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fileNameResolver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | @MainActor
Build complete! (24.58s)
Fetching https://github.com/swhitty/FlyingFox.git
Fetching https://github.com/EmergeTools/SimpleDebugger.git
[2/127] Fetching simpledebugger
[103/6628] Fetching simpledebugger, flyingfox
Fetched https://github.com/swhitty/FlyingFox.git from cache (1.23s)
Fetched https://github.com/EmergeTools/SimpleDebugger.git from cache (1.23s)
Computing version for https://github.com/EmergeTools/SimpleDebugger.git
Computed https://github.com/EmergeTools/SimpleDebugger.git at 1.0.0 (1.70s)
Computing version for https://github.com/swhitty/FlyingFox.git
Computed https://github.com/swhitty/FlyingFox.git at 0.16.0 (0.47s)
Creating working copy for https://github.com/EmergeTools/SimpleDebugger.git
Working copy of https://github.com/EmergeTools/SimpleDebugger.git resolved at 1.0.0
Creating working copy for https://github.com/swhitty/FlyingFox.git
Working copy of https://github.com/swhitty/FlyingFox.git resolved at 0.16.0
Build complete.
{
"cxx_language_standard" : "c++11",
"dependencies" : [
{
"identity" : "flyingfox",
"requirement" : {
"exact" : [
"0.16.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swhitty/FlyingFox.git"
},
{
"identity" : "simpledebugger",
"requirement" : {
"exact" : [
"1.0.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/EmergeTools/SimpleDebugger.git"
}
],
"manifest_display_name" : "SnapshotPreviews",
"name" : "SnapshotPreviews",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "PreviewGallery",
"targets" : [
"PreviewGallery"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SnapshottingTests",
"targets" : [
"SnapshottingTests"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SnapshotPreferences",
"targets" : [
"SnapshotPreferences"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SnapshotPreviewsCore",
"targets" : [
"SnapshotPreviewsCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SnapshotSharedModels",
"targets" : [
"SnapshotSharedModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Snapshotting",
"targets" : [
"Snapshotting"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "SnapshottingTestsTests",
"module_type" : "SwiftTarget",
"name" : "SnapshottingTestsTests",
"path" : "Tests/SnapshottingTestsTests",
"sources" : [
"AllSnapshotImageNamesTests.swift",
"FileNameUtilsTests.swift",
"SnapshotCIExportCoordinatorTests.swift"
],
"target_dependencies" : [
"SnapshottingTests",
"SnapshotPreviewsCore",
"SnapshotSharedModels"
],
"type" : "test"
},
{
"c99name" : "SnapshottingTestsObjc",
"module_type" : "ClangTarget",
"name" : "SnapshottingTestsObjc",
"path" : "Sources/SnapshottingTestsObjc",
"product_dependencies" : [
"SimpleDebugger"
],
"product_memberships" : [
"SnapshottingTests"
],
"sources" : [
"EMGInvocationCreator.mm"
],
"type" : "library"
},
{
"c99name" : "SnapshottingTests",
"module_type" : "SwiftTarget",
"name" : "SnapshottingTests",
"path" : "Sources/SnapshottingTests",
"product_memberships" : [
"SnapshottingTests"
],
"sources" : [
"AccessibilityPreviewTest.swift",
"AllSnapshotImageNamesWriter.swift",
"DiscoveredPreview+PreviewType.swift",
"FileNameUtils.swift",
"PreviewBaseTest.swift",
"PreviewFilters.swift",
"PreviewLayoutTest.swift",
"SnapshotCIExportCoordinator.swift",
"SnapshotPreviewDestination.swift",
"SnapshotPreviewDeviceFilter.swift",
"SnapshotTest.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore",
"SnapshottingTestsObjc",
"SnapshotSharedModels"
],
"type" : "library"
},
{
"c99name" : "SnapshottingSwift",
"module_type" : "SwiftTarget",
"name" : "SnapshottingSwift",
"path" : "Sources/SnapshottingSwift",
"product_dependencies" : [
"FlyingFox"
],
"product_memberships" : [
"Snapshotting"
],
"sources" : [
"Initializer.swift",
"Snapshots.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore"
],
"type" : "library"
},
{
"c99name" : "Snapshotting",
"module_type" : "ClangTarget",
"name" : "Snapshotting",
"path" : "Sources/Snapshotting",
"product_memberships" : [
"Snapshotting"
],
"sources" : [
"Initializer.m"
],
"target_dependencies" : [
"SnapshottingSwift"
],
"type" : "library"
},
{
"c99name" : "SnapshotSharedModels",
"module_type" : "SwiftTarget",
"name" : "SnapshotSharedModels",
"path" : "Sources/SnapshotSharedModels",
"product_memberships" : [
"PreviewGallery",
"SnapshottingTests",
"SnapshotPreferences",
"SnapshotPreviewsCore",
"SnapshotSharedModels",
"Snapshotting"
],
"sources" : [
"RenderingMode.swift",
"SnapshotCanvasTheme.swift",
"SnapshotGroup.swift",
"SnapshotMetadataValue.swift"
],
"type" : "library"
},
{
"c99name" : "SnapshotPreviewsTests",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreviewsTests",
"path" : "Tests/SnapshotPreviewsTests",
"sources" : [
"ActivityIndicatorFreezingTests.swift",
"SnapshotPreviewsTest.swift",
"UIImagePNGEncodingTests.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore"
],
"type" : "test"
},
{
"c99name" : "SnapshotPreviewsCore",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreviewsCore",
"path" : "Sources/SnapshotPreviewsCore",
"product_memberships" : [
"PreviewGallery",
"SnapshottingTests",
"SnapshotPreviewsCore",
"Snapshotting"
],
"sources" : [
"ActivityIndicatorFreezing.swift",
"AppKitRenderingStrategy.swift",
"ConformanceLookup.swift",
"ExpandingViewController.swift",
"MetadataTypes.swift",
"ModifierFinder.swift",
"NSImage+EMG.swift",
"Orientation.swift",
"PreferredColorSchemeWrapper.swift",
"RenderingStrategy.swift",
"ScrollExpansion.swift",
"SnapshotPreviewsCore.swift",
"String+Split.swift",
"SwiftUIRenderingStrategy.swift",
"UIImage+EMG.swift",
"UIKitRenderingStrategy.swift",
"UIViewWrapper.swift",
"View+Snapshot.swift",
"ViewSelector.swift"
],
"target_dependencies" : [
"PreviewsSupport",
"SnapshotSharedModels"
],
"type" : "library"
},
{
"c99name" : "SnapshotPreferencesTests",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreferencesTests",
"path" : "Tests/SnapshotPreferencesTests",
"sources" : [
"SnapshotMetadataPreferenceTests.swift"
],
"target_dependencies" : [
"SnapshotPreferences",
"SnapshotSharedModels"
],
"type" : "test"
},
{
"c99name" : "SnapshotPreferences",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreferences",
"path" : "Sources/SnapshotPreferences",
"product_memberships" : [
"PreviewGallery",
"SnapshotPreferences"
],
"sources" : [
"AccessibiltyPreference.swift",
"AppStoreSnapshotPreference.swift",
"DiffThresholdPreference.swift",
"EmergeModifierFinder.swift",
"ExpansionPreference.swift",
"PrecisionPreference.swift",
"RenderingModePreference.swift",
"SnapshotMetadataPreference.swift"
],
"target_dependencies" : [
"SnapshotSharedModels"
],
"type" : "library"
},
{
"c99name" : "PreviewsSupport",
"module_type" : "BinaryTarget",
"name" : "PreviewsSupport",
"path" : "PreviewsSupport/PreviewsSupport.xcframework",
"product_memberships" : [
"PreviewGallery",
"SnapshottingTests",
"SnapshotPreviewsCore",
"Snapshotting"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "PreviewGallery",
"module_type" : "SwiftTarget",
"name" : "PreviewGallery",
"path" : "Sources/PreviewGallery",
"product_memberships" : [
"PreviewGallery"
],
"sources" : [
"Array+Filter.swift",
"Checkerboard.swift",
"Colors.swift",
"ModulePreviews.swift",
"ModuleScreens.swift",
"Preview+FullScreen.swift",
"PreviewCell.swift",
"PreviewData.swift",
"PreviewGallery.swift",
"PreviewsDetail.swift",
"TitleSubtitleRow.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore",
"SnapshotPreferences"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.