Build Information
Successful build of SnapshotPreviews, reference v0.10.22 (d2e18d
), with Swift 6.0 for macOS (SPM) on 28 Mar 2025 15:06:11 UTC.
Swift 6 data race errors: 23
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EmergeTools/SnapshotPreviews.git
Reference: v0.10.22
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EmergeTools/SnapshotPreviews
* tag v0.10.22 -> FETCH_HEAD
HEAD is now at d2e18d1 Add rendering mode support (#232)
Cloned https://github.com/EmergeTools/SnapshotPreviews.git
Revision (git rev-parse @):
d2e18d1d8d8737f424babaeeeda88a63f9325b70
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/EmergeTools/SnapshotPreviews.git at v0.10.22
Fetching https://github.com/EmergeTools/SimpleDebugger.git
Fetching https://github.com/EmergeTools/AccessibilitySnapshot.git
Fetching https://github.com/swhitty/FlyingFox.git
[2/96] Fetching simpledebugger
[97/5331] Fetching simpledebugger, flyingfox
[1249/8073] Fetching simpledebugger, flyingfox, accessibilitysnapshot
Fetched https://github.com/EmergeTools/SimpleDebugger.git from cache (2.34s)
Fetched https://github.com/swhitty/FlyingFox.git from cache (2.34s)
Fetched https://github.com/EmergeTools/AccessibilitySnapshot.git from cache (2.35s)
Computing version for https://github.com/EmergeTools/SimpleDebugger.git
Computed https://github.com/EmergeTools/SimpleDebugger.git at 1.0.0 (0.40s)
Computing version for https://github.com/EmergeTools/AccessibilitySnapshot.git
Computed https://github.com/EmergeTools/AccessibilitySnapshot.git at 1.0.2 (0.53s)
Computing version for https://github.com/swhitty/FlyingFox.git
Computed https://github.com/swhitty/FlyingFox.git at 0.16.0 (0.40s)
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/EmergeTools/AccessibilitySnapshot.git
Working copy of https://github.com/EmergeTools/AccessibilitySnapshot.git resolved at 1.0.2
Creating working copy for https://github.com/swhitty/FlyingFox.git
Working copy of https://github.com/swhitty/FlyingFox.git resolved at 0.16.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "snapshotpreviews",
"name": "SnapshotPreviews",
"url": "https://github.com/EmergeTools/SnapshotPreviews.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SnapshotPreviews",
"dependencies": [
{
"identity": "flyingfox",
"name": "FlyingFox",
"url": "https://github.com/swhitty/FlyingFox.git",
"version": "0.16.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FlyingFox",
"dependencies": [
]
},
{
"identity": "accessibilitysnapshot",
"name": "AccessibilitySnapshot",
"url": "https://github.com/EmergeTools/AccessibilitySnapshot.git",
"version": "1.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AccessibilitySnapshot",
"dependencies": [
]
},
{
"identity": "simpledebugger",
"name": "SimpleDebugger",
"url": "https://github.com/EmergeTools/SimpleDebugger.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SimpleDebugger",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/EmergeTools/SnapshotPreviews.git
[1/4197] Fetching snapshotpreviews
Fetched https://github.com/EmergeTools/SnapshotPreviews.git from cache (1.11s)
Fetching https://github.com/EmergeTools/AccessibilitySnapshot.git from cache
Fetching https://github.com/EmergeTools/SimpleDebugger.git from cache
Fetching https://github.com/swhitty/FlyingFox.git from cache
Fetched https://github.com/EmergeTools/AccessibilitySnapshot.git from cache (0.46s)
Fetched https://github.com/EmergeTools/SimpleDebugger.git from cache (0.46s)
Fetched https://github.com/swhitty/FlyingFox.git from cache (0.46s)
Computing version for https://github.com/EmergeTools/SimpleDebugger.git
Computed https://github.com/EmergeTools/SimpleDebugger.git at 1.0.0 (0.02s)
Computing version for https://github.com/EmergeTools/AccessibilitySnapshot.git
Computed https://github.com/EmergeTools/AccessibilitySnapshot.git at 1.0.2 (0.02s)
Computing version for https://github.com/swhitty/FlyingFox.git
Computed https://github.com/swhitty/FlyingFox.git at 0.16.0 (0.02s)
Creating working copy for https://github.com/swhitty/FlyingFox.git
Working copy of https://github.com/swhitty/FlyingFox.git resolved at 0.16.0
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/EmergeTools/SnapshotPreviews.git
Working copy of https://github.com/EmergeTools/SnapshotPreviews.git resolved at v0.10.22 (d2e18d1)
Creating working copy for https://github.com/EmergeTools/AccessibilitySnapshot.git
Working copy of https://github.com/EmergeTools/AccessibilitySnapshot.git resolved at 1.0.2
warning: '.resolve-product-dependencies': dependency 'snapshotpreviews' is not used by any target
Found 3 product dependencies
- FlyingFox
- AccessibilitySnapshot
- SimpleDebugger
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/EmergeTools/SnapshotPreviews.git
https://github.com/EmergeTools/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" : "accessibilitysnapshot",
"requirement" : {
"exact" : [
"1.0.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/EmergeTools/AccessibilitySnapshot.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" : [
"static"
]
}
},
{
"name" : "SnapshottingTests",
"targets" : [
"SnapshottingTests"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "SnapshotPreferences",
"targets" : [
"SnapshotPreferences"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SnapshotPreviewsCore",
"targets" : [
"SnapshotPreviewsCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Snapshotting",
"targets" : [
"Snapshotting"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"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",
"DiscoveredPreview+PreviewType.swift",
"PreviewBaseTest.swift",
"PreviewFilters.swift",
"PreviewLayoutTest.swift",
"SnapshotTest.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore",
"SnapshottingTestsObjc"
],
"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",
"Snapshotting"
],
"sources" : [
"RenderingMode.swift"
],
"type" : "library"
},
{
"c99name" : "SnapshotPreviewsTests",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreviewsTests",
"path" : "Tests/SnapshotPreviewsTests",
"sources" : [
"ETBrowserTests.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore"
],
"type" : "test"
},
{
"c99name" : "SnapshotPreviewsCore",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreviewsCore",
"path" : "Sources/SnapshotPreviewsCore",
"product_dependencies" : [
"AccessibilitySnapshotCore"
],
"product_memberships" : [
"PreviewGallery",
"SnapshottingTests",
"SnapshotPreviewsCore",
"Snapshotting"
],
"sources" : [
"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" : "SnapshotPreferences",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreferences",
"path" : "Sources/SnapshotPreferences",
"product_memberships" : [
"PreviewGallery",
"SnapshotPreferences"
],
"sources" : [
"AccessibiltyPreference.swift",
"AppStoreSnapshotPreference.swift",
"EmergeModifierFinder.swift",
"ExpansionPreference.swift",
"PrecisionPreference.swift",
"RenderingModePreference.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.2.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/20] Write sources
[8/20] Copying PreviewsSupport.framework
[9/20] Write swift-version-5BDAB9E9C0126B9D.txt
[10/47] Compiling SimpleDebugger emg_vm_protect.c
[11/47] Compiling SnapshottingTestsObjc EMGInvocationCreator.mm
[12/47] Compiling SimpleDebugger SimpleDebugger.cpp
[14/47] Emitting module FlyingSocks
[15/49] Emitting module SnapshotSharedModels
[16/49] Compiling SnapshotSharedModels RenderingMode.swift
[17/49] Compiling FlyingSocks SocketError.swift
[18/49] Compiling FlyingSocks SocketPool+Poll.swift
[19/49] Compiling FlyingSocks Task+Timeout.swift
[20/49] Compiling FlyingSocks Transferring.swift
[21/49] Compiling FlyingSocks ConsumingAsyncSequence.swift
[22/49] Compiling FlyingSocks IdentifiableContinuation.swift
[23/49] Compiling FlyingSocks Logging+OSLog.swift
[24/49] Compiling FlyingSocks AsyncChunkedSequence.swift
[25/49] Compiling FlyingSocks AsyncSharedReplaySequence.swift
[26/49] Compiling FlyingSocks AsyncSocket.swift
[27/73] Compiling FlyingSocks SocketPool+ePoll.swift
[28/73] Compiling FlyingSocks SocketPool+kQueue.swift
[29/73] Compiling SnapshotPreviewsCore UIViewWrapper.swift
[30/73] Compiling FlyingSocks AsyncBufferedSequence+Extensions.swift
[31/73] Compiling FlyingSocks AsyncBufferedSequence.swift
[32/73] Compiling SnapshotPreviewsCore ScrollExpansion.swift
[33/73] Compiling SnapshotPreviewsCore SnapshotPreviewsCore.swift
[34/73] Compiling SnapshotPreviewsCore String+Split.swift
[35/73] Compiling SnapshotPreviewsCore Orientation.swift
[36/73] Compiling SnapshotPreviewsCore PreferredColorSchemeWrapper.swift
[37/73] Compiling SnapshotPreviewsCore RenderingStrategy.swift
[38/73] Compiling SnapshotPreviewsCore SwiftUIRenderingStrategy.swift
[39/73] Compiling SnapshotPreviewsCore UIImage+EMG.swift
[40/73] Compiling SnapshotPreviewsCore UIKitRenderingStrategy.swift
[41/73] Compiling FlyingSocks SocketPool.swift
[42/73] Compiling FlyingSocks SwiftSupport.swift
[43/113] Compiling FlyingFox AsyncSequence+Extensions.swift
[44/113] Compiling FlyingFox HTTPBodyPattern.swift
[45/113] Compiling FlyingFox HTTPBodySequence.swift
[46/113] Compiling FlyingFox HTTPChunkedEncodedSequence.swift
[47/113] Compiling FlyingFox HTTPClient.swift
[48/117] Compiling FlyingFox DirectoryHTTPHandler.swift
[49/117] Compiling FlyingFox FileHTTPHandler.swift
[50/117] Compiling FlyingFox ProxyHTTPHandler.swift
[51/117] Compiling FlyingFox RedirectHTTPHandler.swift
[52/117] Compiling FlyingFox UncheckedSendable.swift
[53/117] Compiling FlyingFox AsyncStream+WSFrame.swift
[54/117] Compiling FlyingFox SHA1.swift
[55/117] Compiling FlyingFox WSFrame.swift
[56/117] Compiling FlyingFox HTTPConnection.swift
[57/117] Compiling FlyingFox HTTPDecoder.swift
[58/117] Compiling FlyingFox HTTPEncoder.swift
[59/117] Compiling FlyingFox HTTPHandler.swift
[60/117] Compiling FlyingFox HTTPHeader.swift
[61/117] Compiling FlyingFox HTTPLogging+OSLog.swift
[62/117] Compiling FlyingFox HTTPLogging.swift
[63/117] Compiling FlyingFox HTTPMethod.swift
[64/117] Compiling FlyingFox HTTPRequest+Address.swift
[65/117] Compiling FlyingFox HTTPRequest+QueryItem.swift
[66/117] Compiling FlyingFox HTTPRequest+RouteParameter.swift
[67/117] Compiling FlyingFox HTTPRequest.swift
[68/117] Compiling FlyingFox HTTPResponse.swift
[69/117] Compiling FlyingFox RoutedHTTPHandler.swift
[70/117] Compiling FlyingFox WebSocketHTTPHandler.swift
[71/117] Compiling FlyingFox SocketAddress+Glibc.swift
[72/117] Compiling FlyingFox URLSession+Async.swift
[73/117] Emitting module FlyingFox
[74/117] Compiling FlyingFox HTTPRoute.swift
[75/117] Compiling FlyingFox HTTPRouteParameterValue.swift
[76/117] Compiling FlyingFox HTTPServer+Configuration.swift
[77/117] Compiling FlyingFox HTTPServer+Listening.swift
[78/117] Compiling FlyingFox HTTPServer.swift
[79/117] Compiling FlyingFox HTTPStatusCode.swift
[80/117] Compiling FlyingFox HTTPVersion.swift
[81/117] Compiling FlyingFox ClosureHTTPHandler.swift
[82/117] Compiling FlyingFox WSFrameEncoder.swift
[83/117] Compiling FlyingFox WSFrameValidator.swift
[84/117] Compiling FlyingFox WSHandler.swift
[85/117] Compiling FlyingFox WSMessage.swift
[88/118] Compiling SnapshotPreviewsCore View+Snapshot.swift
[89/118] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
[90/118] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
[91/118] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[92/118] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[93/118] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[94/118] 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | func reset() {
[95/118] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/SnapshotPreviewsCore.swift:92: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
90 | self.fileID = nil
91 | self.line = nil
92 | 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
93 | self.platform = A.platform
94 | }
SwiftUI._PreviewProvider:3:50: note: static property declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension _PreviewProvider {
3 | @MainActor @preconcurrency public static var _allPreviews: [_Preview] { get }
| `- note: static property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/SnapshotPreviewsCore.swift:93: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
91 | self.line = nil
92 | self.previews = A._allPreviews.map { Preview(preview: $0, type: A.self) }
93 | 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
94 | }
95 |
SwiftUI.PreviewProvider:5:43: note: static property declared here
3 | associatedtype Previews : View
4 | @ViewBuilder @MainActor @preconcurrency static var previews: Self.Previews { get }
5 | @MainActor @preconcurrency static var platform: PreviewPlatform? { get }
| `- note: static property declared here
6 | }
/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/SnapshotPreviewsCore.swift:92: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
90 | self.fileID = nil
91 | self.line = nil
92 | 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
93 | self.platform = A.platform
94 | }
SwiftUI._PreviewProvider:3:50: note: static property declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension _PreviewProvider {
3 | @MainActor @preconcurrency public static var _allPreviews: [_Preview] { get }
| `- note: static property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/SnapshotPreviewsCore.swift:93: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
91 | self.line = nil
92 | self.previews = A._allPreviews.map { Preview(preview: $0, type: A.self) }
93 | 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
94 | }
95 |
SwiftUI.PreviewProvider:5:43: note: static property declared here
3 | associatedtype Previews : View
4 | @ViewBuilder @MainActor @preconcurrency static var previews: Self.Previews { get }
5 | @MainActor @preconcurrency static var platform: PreviewPlatform? { get }
| `- note: static property declared here
6 | }
/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 protocol requirement; this is an error in the Swift 6 language mode
16 |
17 | protocol ContentHeightProviding {
18 | var contentHeight: CGFloat { get }
| `- note: '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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
18 | var contentHeight: CGFloat { get }
19 |
20 | var visibleContentHeight: CGFloat { get }
| `- note: 'visibleContentHeight' declared here
21 | }
22 |
:
114 | }
115 |
116 | var visibleContentHeight: CGFloat {
| `- warning: main actor-isolated property 'visibleContentHeight' cannot be used to satisfy nonisolated protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: '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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: '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 protocol requirement; this is an error in the Swift 6 language mode
142 | view.firstScrollView
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:112:7: warning: main actor-isolated property 'contentHeight' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 |
17 | protocol ContentHeightProviding {
18 | var contentHeight: CGFloat { get }
| `- note: '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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
18 | var contentHeight: CGFloat { get }
19 |
20 | var visibleContentHeight: CGFloat { get }
| `- note: 'visibleContentHeight' declared here
21 | }
22 |
:
114 | }
115 |
116 | var visibleContentHeight: CGFloat {
| `- warning: main actor-isolated property 'visibleContentHeight' cannot be used to satisfy nonisolated protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: '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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: '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 protocol requirement; this is an error in the Swift 6 language mode
142 | view.firstScrollView
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/PreferredColorSchemeWrapper.swift:27:9: warning: main actor-isolated property 'preferredColorScheme' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
11 | public struct PreferredColorSchemeWrapper<Content: View>: View {
12 |
13 | @State var preferredColorScheme: ColorScheme? = nil
| `- note: mutation of this property is only permitted within the actor
14 | @Environment(\.colorScheme) var colorScheme
15 |
:
25 | content
26 | .onPreferenceChange(PreferredColorSchemeKey.self, perform: { value in
27 | preferredColorScheme = value
| `- warning: main actor-isolated property 'preferredColorScheme' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
28 | colorSchemeUpdater?(value)
29 | })
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/PreferredColorSchemeWrapper.swift:28:9: warning: main actor-isolated property 'colorSchemeUpdater' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
15 |
16 | let content: Content
17 | let colorSchemeUpdater: ((ColorScheme?) -> Void)?
| `- note: property declared here
18 |
19 | public init(@ViewBuilder _ content: () -> Content, colorSchemeUpdater: ((ColorScheme?) -> Void)? = nil) {
:
26 | .onPreferenceChange(PreferredColorSchemeKey.self, perform: { value in
27 | preferredColorScheme = value
28 | colorSchemeUpdater?(value)
| `- warning: main actor-isolated property 'colorSchemeUpdater' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
29 | })
30 | .environment(\.colorScheme, preferredColorScheme ?? colorScheme)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/PreferredColorSchemeWrapper.swift:27:9: warning: main actor-isolated property 'preferredColorScheme' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
11 | public struct PreferredColorSchemeWrapper<Content: View>: View {
12 |
13 | @State var preferredColorScheme: ColorScheme? = nil
| `- note: mutation of this property is only permitted within the actor
14 | @Environment(\.colorScheme) var colorScheme
15 |
:
25 | content
26 | .onPreferenceChange(PreferredColorSchemeKey.self, perform: { value in
27 | preferredColorScheme = value
| `- warning: main actor-isolated property 'preferredColorScheme' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
28 | colorSchemeUpdater?(value)
29 | })
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/PreferredColorSchemeWrapper.swift:28:9: warning: main actor-isolated property 'colorSchemeUpdater' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
15 |
16 | let content: Content
17 | let colorSchemeUpdater: ((ColorScheme?) -> Void)?
| `- note: property declared here
18 |
19 | public init(@ViewBuilder _ content: () -> Content, colorSchemeUpdater: ((ColorScheme?) -> Void)? = nil) {
:
26 | .onPreferenceChange(PreferredColorSchemeKey.self, perform: { value in
27 | preferredColorScheme = value
28 | colorSchemeUpdater?(value)
| `- warning: main actor-isolated property 'colorSchemeUpdater' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
29 | })
30 | .environment(\.colorScheme, preferredColorScheme ?? colorScheme)
/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
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/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: annotate 'modifierFinderClass' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'finder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'stateMirror' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/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: annotate 'modifierFinderClass' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'finder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'stateMirror' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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)
[106/118] Compiling SnapshotPreviewsCore ViewSelector.swift
/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: annotate '_colorScheme' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public class AppKitRenderingStrategy: RenderingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:72:7: warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
64 | }
65 |
66 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
| `- note: add '@preconcurrency' to the 'ScrollExpansionProviding' conformance to defer isolation checking to run time
67 |
68 | var supportsExpansion: Bool {
:
70 | }
71 | var heightAnchor: NSLayoutConstraint?
72 | var previousHeight: CGFloat?
| `- warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
73 |
74 | public var rendered: ((EmergeRenderingMode?, Float?, Bool?, Bool?) -> Void)? {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:29:7: note: 'previousHeight' declared here
27 | #if !os(watchOS)
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
| `- note: 'previousHeight' declared here
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:71:7: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
69 | rootView.supportsExpansion
70 | }
71 | var heightAnchor: NSLayoutConstraint?
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
72 | var previousHeight: CGFloat?
73 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:30:7: note: 'heightAnchor' declared here
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
| `- note: 'heightAnchor' declared here
31 | var supportsExpansion: Bool { get }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:68:7: warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
66 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
67 |
68 | var supportsExpansion: Bool {
| `- warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
69 | rootView.supportsExpansion
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:31:7: note: 'supportsExpansion' declared here
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
| `- note: '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 | }
AppKit.NSWindow:441:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
439 | @available(macOS 10.12, *)
440 | open var windowTitlebarLayoutDirection: NSUserInterfaceLayoutDirection { get }
441 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
442 | @available(macOS 10.5, *)
443 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
/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:144:26: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
142 | open var canHide: Bool { get set }
143 | open func center()
144 | @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
| `- note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
145 | open func orderFront(_ sender: Any?)
146 | open func orderBack(_ sender: Any?)
/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: annotate '_colorScheme' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public class AppKitRenderingStrategy: RenderingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:72:7: warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
64 | }
65 |
66 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
| `- note: add '@preconcurrency' to the 'ScrollExpansionProviding' conformance to defer isolation checking to run time
67 |
68 | var supportsExpansion: Bool {
:
70 | }
71 | var heightAnchor: NSLayoutConstraint?
72 | var previousHeight: CGFloat?
| `- warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
73 |
74 | public var rendered: ((EmergeRenderingMode?, Float?, Bool?, Bool?) -> Void)? {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:29:7: note: 'previousHeight' declared here
27 | #if !os(watchOS)
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
| `- note: 'previousHeight' declared here
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:71:7: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
69 | rootView.supportsExpansion
70 | }
71 | var heightAnchor: NSLayoutConstraint?
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
72 | var previousHeight: CGFloat?
73 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:30:7: note: 'heightAnchor' declared here
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
| `- note: 'heightAnchor' declared here
31 | var supportsExpansion: Bool { get }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:68:7: warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
66 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
67 |
68 | var supportsExpansion: Bool {
| `- warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
69 | rootView.supportsExpansion
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:31:7: note: 'supportsExpansion' declared here
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
| `- note: '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 | }
AppKit.NSWindow:441:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
439 | @available(macOS 10.12, *)
440 | open var windowTitlebarLayoutDirection: NSUserInterfaceLayoutDirection { get }
441 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
442 | @available(macOS 10.5, *)
443 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
/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:144:26: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
142 | open var canHide: Bool { get set }
143 | open func center()
144 | @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
| `- note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
145 | open func orderFront(_ sender: Any?)
146 | open func orderBack(_ sender: Any?)
[109/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: annotate '_colorScheme' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public class AppKitRenderingStrategy: RenderingStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:72:7: warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
64 | }
65 |
66 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
| `- note: add '@preconcurrency' to the 'ScrollExpansionProviding' conformance to defer isolation checking to run time
67 |
68 | var supportsExpansion: Bool {
:
70 | }
71 | var heightAnchor: NSLayoutConstraint?
72 | var previousHeight: CGFloat?
| `- warning: main actor-isolated property 'previousHeight' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
73 |
74 | public var rendered: ((EmergeRenderingMode?, Float?, Bool?, Bool?) -> Void)? {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:29:7: note: 'previousHeight' declared here
27 | #if !os(watchOS)
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
| `- note: 'previousHeight' declared here
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:71:7: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
69 | rootView.supportsExpansion
70 | }
71 | var heightAnchor: NSLayoutConstraint?
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
72 | var previousHeight: CGFloat?
73 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:30:7: note: 'heightAnchor' declared here
28 | protocol ScrollExpansionProviding: AnyObject, FirstScrollViewProviding {
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
| `- note: 'heightAnchor' declared here
31 | var supportsExpansion: Bool { get }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift:68:7: warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
66 | final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpansionProviding {
67 |
68 | var supportsExpansion: Bool {
| `- warning: main actor-isolated property 'supportsExpansion' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
69 | rootView.supportsExpansion
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/ScrollExpansion.swift:31:7: note: 'supportsExpansion' declared here
29 | var previousHeight: CGFloat? { get set }
30 | var heightAnchor: NSLayoutConstraint? { get }
31 | var supportsExpansion: Bool { get }
| `- note: '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
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/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: annotate 'modifierFinderClass' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'finder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'stateMirror' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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 protocol requirement; this is an error in the Swift 6 language mode
16 |
17 | protocol ContentHeightProviding {
18 | var contentHeight: CGFloat { get }
| `- note: '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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
18 | var contentHeight: CGFloat { get }
19 |
20 | var visibleContentHeight: CGFloat { get }
| `- note: 'visibleContentHeight' declared here
21 | }
22 |
:
114 | }
115 |
116 | var visibleContentHeight: CGFloat {
| `- warning: main actor-isolated property 'visibleContentHeight' cannot be used to satisfy nonisolated protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: '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 protocol requirement; 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 protocol requirement; this is an error in the Swift 6 language mode
22 |
23 | protocol FirstScrollViewProviding {
24 | var firstScrollView: ContentHeightProviding? { get }
| `- note: '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 protocol requirement; this is an error in the Swift 6 language mode
142 | view.firstScrollView
143 | }
[112/139] Compiling PreviewGallery Array+Filter.swift
[113/139] Compiling PreviewGallery Checkerboard.swift
[114/140] Emitting module PreviewGallery
[115/140] Compiling PreviewGallery PreviewGallery.swift
[116/140] Compiling PreviewGallery PreviewData.swift
[117/140] Compiling PreviewGallery PreviewsDetail.swift
[118/140] Compiling PreviewGallery Colors.swift
[119/140] Compiling PreviewGallery PreviewCell.swift
[120/140] Compiling PreviewGallery Preview+FullScreen.swift
[121/140] Compiling PreviewGallery ModulePreviews.swift
[122/140] Compiling PreviewGallery ModuleScreens.swift
[123/140] 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | override init() {
[124/140] 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | override init() {
[125/140] 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 type '(Result<ImageType, any Error>, Preview)' (aka '(Result<NSImage, any Error>, Preview)') returned by implicitly asynchronous call to main actor-isolated function cannot cross actor boundary; 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 type '(Result<ImageType, any Error>, Preview)' (aka '(Result<NSImage, any Error>, Preview)') returned by implicitly asynchronous call to main actor-isolated function cannot cross actor boundary; 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 | }
[126/140] Compiling PreviewGallery TitleSubtitleRow.swift
[126/140] Write Objects.LinkFileList
[127/140] Archiving libPreviewGallery.a
[128/140] Compiling Snapshotting Initializer.m
[129/140] Write Objects.LinkFileList
[130/140] Linking libSnapshotting.dylib
[132/140] 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/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 XCTest
11 | import XCTest
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewBaseTest.swift:23: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
21 | }
22 |
23 | 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: annotate 'previews' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @objc(EMGPreviewBaseTest)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewBaseTest.swift:28: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
26 | open class PreviewBaseTest: XCTestCase {
27 |
28 | 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: annotate 'signatureCreator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | @objc
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewLayoutTest.swift:35: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
33 | }
34 |
35 | 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: annotate 'previews' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// 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:52:22: warning: static property 'renderingStrategy' is not concurrency-safe because non-'Sendable' type 'any RenderingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
50 | #endif
51 | }
52 | private static let renderingStrategy = getRenderingStrategy()
| `- warning: static property 'renderingStrategy' is not concurrency-safe because non-'Sendable' type 'any RenderingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | static private var previews: [SnapshotPreviewsCore.PreviewType] = []
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/RenderingStrategy.swift:63:17: note: protocol 'RenderingStrategy' does not conform to the 'Sendable' protocol
61 | }
62 |
63 | public protocol RenderingStrategy {
| `- note: protocol 'RenderingStrategy' does not conform to the 'Sendable' protocol
64 | @MainActor func render(
65 | preview: SnapshotPreviewsCore.Preview,
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:9:22: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SnapshotPreviewsCore'
7 |
8 | import Foundation
9 | @_implementationOnly import SnapshotPreviewsCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SnapshotPreviewsCore'
10 | import XCTest
11 | import XCTest
:
50 | #endif
51 | }
52 | private static let renderingStrategy = getRenderingStrategy()
| |- note: annotate 'renderingStrategy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | static private var previews: [SnapshotPreviewsCore.PreviewType] = []
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:54: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
52 | private static let renderingStrategy = getRenderingStrategy()
53 |
54 | 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: annotate 'previews' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Discovers all relevant previews based on inclusion and exclusion filters. Subclasses should NOT override this method.
[133/140] 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 {
[134/140] Compiling SnapshottingTests PreviewBaseTest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewBaseTest.swift:23: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
21 | }
22 |
23 | 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: annotate 'previews' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | @objc(EMGPreviewBaseTest)
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewBaseTest.swift:28: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
26 | open class PreviewBaseTest: XCTestCase {
27 |
28 | 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: annotate 'signatureCreator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | @objc
[135/140] Compiling SnapshottingTests PreviewFilters.swift
[136/140] 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 XCTest
11 | import XCTest
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:52:22: warning: static property 'renderingStrategy' is not concurrency-safe because non-'Sendable' type 'any RenderingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
50 | #endif
51 | }
52 | private static let renderingStrategy = getRenderingStrategy()
| `- warning: static property 'renderingStrategy' is not concurrency-safe because non-'Sendable' type 'any RenderingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | static private var previews: [SnapshotPreviewsCore.PreviewType] = []
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotPreviewsCore/RenderingStrategy.swift:63:17: note: protocol 'RenderingStrategy' does not conform to the 'Sendable' protocol
61 | }
62 |
63 | public protocol RenderingStrategy {
| `- note: protocol 'RenderingStrategy' does not conform to the 'Sendable' protocol
64 | @MainActor func render(
65 | preview: SnapshotPreviewsCore.Preview,
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:9:22: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SnapshotPreviewsCore'
7 |
8 | import Foundation
9 | @_implementationOnly import SnapshotPreviewsCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SnapshotPreviewsCore'
10 | import XCTest
11 | import XCTest
:
50 | #endif
51 | }
52 | private static let renderingStrategy = getRenderingStrategy()
| |- note: annotate 'renderingStrategy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | static private var previews: [SnapshotPreviewsCore.PreviewType] = []
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/SnapshotTest.swift:54: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
52 | private static let renderingStrategy = getRenderingStrategy()
53 |
54 | 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: annotate 'previews' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Discovers all relevant previews based on inclusion and exclusion filters. Subclasses should NOT override this method.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewBaseTest.swift:28: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
26 | open class PreviewBaseTest: XCTestCase {
27 |
28 | 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: annotate 'signatureCreator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | @objc
[137/140] Compiling SnapshottingTests AccessibilityPreviewTest.swift
/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 |
XCTest.XCUIApplication:2:23: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
1 | @MainActor open class XCUIApplication : XCUIElement {
2 | @MainActor public init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
3 | @available(*, unavailable, message: "use object initializers instead")
4 | open class func new() -> Self
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/AccessibilityPreviewTest.swift:118:9: warning: mutation of captured var 'resultPath' in concurrently-executing code
116 | let task = URLSession.shared.dataTask(with: request) { data, response, error in
117 | if let data = data, let stringData = String(data: data, encoding: .utf8) {
118 | resultPath = stringData
| `- warning: mutation of captured var 'resultPath' in concurrently-executing code
119 | }
120 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/AccessibilityPreviewTest.swift:154:7: warning: mutation of captured var 'resultData' in concurrently-executing code
152 | var resultData: Data?
153 | let task = URLSession.shared.dataTask(with: request) { data, response, error in
154 | resultData = data
| `- warning: mutation of captured var 'resultData' in concurrently-executing code
155 | expectation.fulfill()
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewBaseTest.swift:28: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
26 | open class PreviewBaseTest: XCTestCase {
27 |
28 | 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: annotate 'signatureCreator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | @objc
[138/140] 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:35: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
33 | }
34 |
35 | 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: annotate 'previews' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Discovers all relevant previews based on inclusion and exclusion filters. Subclasses should NOT override this method.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshottingTests/PreviewBaseTest.swift:28: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
26 | open class PreviewBaseTest: XCTestCase {
27 |
28 | 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: annotate 'signatureCreator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | @objc
[138/140] Write Objects.LinkFileList
[139/140] Archiving libSnapshottingTests.a
Build complete! (32.60s)
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" : "accessibilitysnapshot",
"requirement" : {
"exact" : [
"1.0.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/EmergeTools/AccessibilitySnapshot.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" : [
"static"
]
}
},
{
"name" : "SnapshottingTests",
"targets" : [
"SnapshottingTests"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "SnapshotPreferences",
"targets" : [
"SnapshotPreferences"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SnapshotPreviewsCore",
"targets" : [
"SnapshotPreviewsCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Snapshotting",
"targets" : [
"Snapshotting"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"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",
"DiscoveredPreview+PreviewType.swift",
"PreviewBaseTest.swift",
"PreviewFilters.swift",
"PreviewLayoutTest.swift",
"SnapshotTest.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore",
"SnapshottingTestsObjc"
],
"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",
"Snapshotting"
],
"sources" : [
"RenderingMode.swift"
],
"type" : "library"
},
{
"c99name" : "SnapshotPreviewsTests",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreviewsTests",
"path" : "Tests/SnapshotPreviewsTests",
"sources" : [
"ETBrowserTests.swift"
],
"target_dependencies" : [
"SnapshotPreviewsCore"
],
"type" : "test"
},
{
"c99name" : "SnapshotPreviewsCore",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreviewsCore",
"path" : "Sources/SnapshotPreviewsCore",
"product_dependencies" : [
"AccessibilitySnapshotCore"
],
"product_memberships" : [
"PreviewGallery",
"SnapshottingTests",
"SnapshotPreviewsCore",
"Snapshotting"
],
"sources" : [
"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" : "SnapshotPreferences",
"module_type" : "SwiftTarget",
"name" : "SnapshotPreferences",
"path" : "Sources/SnapshotPreferences",
"product_memberships" : [
"PreviewGallery",
"SnapshotPreferences"
],
"sources" : [
"AccessibiltyPreference.swift",
"AppStoreSnapshotPreference.swift",
"EmergeModifierFinder.swift",
"ExpansionPreference.swift",
"PrecisionPreference.swift",
"RenderingModePreference.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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/emergetools/snapshotpreviews/v0.10.22
Repository: EmergeTools/SnapshotPreviews
Swift version used: 6.0
Target: SnapshotPreferences
Extracting symbol information for 'SnapshotPreferences'...
Finished extracting symbol information for 'SnapshotPreferences'. (4.96s)
Building documentation for 'SnapshotPreferences'...
Finished building documentation for 'SnapshotPreferences' (0.36s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/emergetools/snapshotpreviews/v0.10.22
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/EmergeTools/AccessibilitySnapshot.git
Updated https://github.com/EmergeTools/AccessibilitySnapshot.git (0.44s)
[1/2050] Fetching swift-docc-plugin
Updating https://github.com/swhitty/FlyingFox.git
Updating https://github.com/EmergeTools/SimpleDebugger.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.17s)
Updated https://github.com/swhitty/FlyingFox.git (0.41s)
Updated https://github.com/EmergeTools/SimpleDebugger.git (0.41s)
Computing version for https://github.com/EmergeTools/SimpleDebugger.git
Computed https://github.com/EmergeTools/SimpleDebugger.git at 1.0.0 (0.42s)
Computing version for https://github.com/EmergeTools/AccessibilitySnapshot.git
Computed https://github.com/EmergeTools/AccessibilitySnapshot.git at 1.0.2 (0.54s)
Computing version for https://github.com/swhitty/FlyingFox.git
Computed https://github.com/swhitty/FlyingFox.git at 0.16.0 (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3348] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.17s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.56s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets Snippet.swift
[9/53] Compiling SymbolKit SemanticVersion.swift
[10/53] Compiling SymbolKit AccessControl.swift
[11/53] Compiling SymbolKit Availability.swift
[12/53] Compiling SymbolKit AvailabilityItem.swift
[13/53] Compiling SymbolKit Domain.swift
[14/57] Emitting module SymbolKit
[15/57] Compiling SymbolKit SourceRange.swift
[16/57] Compiling SymbolKit Metadata.swift
[17/57] Compiling SymbolKit Module.swift
[18/57] Compiling SymbolKit OperatingSystem.swift
[19/57] Compiling SymbolKit Platform.swift
[20/57] Compiling SymbolKit Identifier.swift
[21/57] Compiling SymbolKit KindIdentifier.swift
[22/57] Compiling SymbolKit Location.swift
[23/57] Compiling SymbolKit Mutability.swift
[24/57] Compiling SymbolKit Relationship.swift
[25/57] Compiling SymbolKit RelationshipKind.swift
[26/57] Compiling SymbolKit SourceOrigin.swift
[27/57] Compiling SymbolKit GenericConstraints.swift
[28/57] Compiling SymbolKit Swift.swift
[29/57] Compiling SymbolKit DeclarationFragments.swift
[30/57] Compiling SymbolKit Fragment.swift
[31/57] Compiling SymbolKit FragmentKind.swift
[32/57] Compiling SymbolKit FunctionParameter.swift
[33/57] Compiling SymbolKit FunctionSignature.swift
[34/57] Compiling SymbolKit Mixin+Equals.swift
[35/57] Compiling SymbolKit Mixin+Hash.swift
[36/57] Compiling SymbolKit Mixin.swift
[37/57] Compiling SymbolKit LineList.swift
[38/57] Compiling SymbolKit Position.swift
[39/57] Compiling SymbolKit GenericConstraint.swift
[40/57] Compiling SymbolKit GenericParameter.swift
[41/57] Compiling SymbolKit Generics.swift
[42/57] Compiling SymbolKit Namespace.swift
[43/57] Compiling SymbolKit Names.swift
[44/57] Compiling SymbolKit SPI.swift
[45/57] Compiling SymbolKit Snippet.swift
[46/57] Compiling SymbolKit Extension.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.80s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/3] Emitting module SnapshotSharedModels
[3/3] Compiling SnapshotSharedModels RenderingMode.swift
[4/10] Compiling SnapshotPreferences PrecisionPreference.swift
[5/10] Compiling SnapshotPreferences RenderingModePreference.swift
[6/10] Compiling SnapshotPreferences EmergeModifierFinder.swift
[7/10] Emitting module SnapshotPreferences
[8/10] Compiling SnapshotPreferences AppStoreSnapshotPreference.swift
[9/10] Compiling SnapshotPreferences ExpansionPreference.swift
[10/10] Compiling SnapshotPreferences AccessibiltyPreference.swift
Build of target: 'SnapshotPreferences' complete! (0.87s)
Target: Snapshotting
Extracting symbol information for 'Snapshotting'...
Building for debugging...
[0/3] Write swift-version-5BDAB9E9C0126B9D.txt
Build of product 'snippet-extract' complete! (0.19s)
Building for debugging...
[0/2] Write swift-version-5BDAB9E9C0126B9D.txt
[2/45] Compiling FlyingSocks ConsumingAsyncSequence.swift
[3/45] Compiling FlyingSocks IdentifiableContinuation.swift
[4/46] Compiling FlyingSocks AsyncChunkedSequence.swift
[5/46] Compiling FlyingSocks AsyncSharedReplaySequence.swift
[6/46] Compiling FlyingSocks AsyncBufferedFileSequence.swift
[7/46] Compiling FlyingSocks AsyncBufferedSequence+Extensions.swift
[8/46] Compiling FlyingSocks AsyncBufferedSequence.swift
[9/48] Emitting module FlyingSocks
[10/48] Compiling FlyingSocks SocketPool.swift
[11/48] Compiling FlyingSocks SwiftSupport.swift
[12/48] Compiling FlyingSocks AllocatedLock.swift
[13/48] Compiling FlyingSocks AsyncBufferedCollection.swift
[14/48] Compiling FlyingSocks AsyncBufferedEmptySequence.swift
[17/48] Compiling FlyingSocks Logging+OSLog.swift
[18/48] Compiling FlyingSocks SocketPool+ePoll.swift
[19/48] Compiling FlyingSocks SocketPool+kQueue.swift
[22/48] Compiling FlyingSocks AsyncSocket.swift
[23/48] Compiling FlyingSocks Socket+WinSock2.swift
[24/48] Compiling FlyingSocks Socket.swift
[25/48] Compiling FlyingSocks SocketAddress.swift
[26/48] Compiling FlyingSocks Logging.swift
[27/48] Compiling FlyingSocks Socket+Darwin.swift
[28/48] Compiling FlyingSocks Socket+Glibc.swift
[29/48] Compiling FlyingSocks SocketError.swift
[30/48] Compiling FlyingSocks SocketPool+Poll.swift
[31/48] Compiling SnapshotPreviewsCore ViewSelector.swift
[32/48] Compiling FlyingSocks Task+Timeout.swift
[33/48] Compiling FlyingSocks Transferring.swift
[34/49] Compiling SnapshotPreviewsCore View+Snapshot.swift
[45/49] Emitting module SnapshotPreviewsCore
[48/87] Compiling FlyingFox UncheckedSendable.swift
[49/87] Compiling FlyingFox AsyncStream+WSFrame.swift
[50/87] Compiling FlyingFox SHA1.swift
[51/87] Compiling FlyingFox WSFrame.swift
[52/91] Emitting module FlyingFox
[53/91] Compiling FlyingFox AsyncSequence+Extensions.swift
[54/91] Compiling FlyingFox HTTPBodyPattern.swift
[55/91] Compiling FlyingFox HTTPBodySequence.swift
[56/91] Compiling FlyingFox HTTPChunkedEncodedSequence.swift
[57/91] Compiling FlyingFox HTTPClient.swift
[58/91] Compiling FlyingFox HTTPLogging+OSLog.swift
[59/91] Compiling FlyingFox HTTPLogging.swift
[60/91] Compiling FlyingFox HTTPMethod.swift
[61/91] Compiling FlyingFox HTTPRequest+Address.swift
[62/91] Compiling FlyingFox HTTPRequest+QueryItem.swift
[63/91] Compiling FlyingFox HTTPRequest+RouteParameter.swift
[64/91] Compiling FlyingFox HTTPRequest.swift
[65/91] Compiling FlyingFox HTTPResponse.swift
[66/91] Compiling FlyingFox DirectoryHTTPHandler.swift
[67/91] Compiling FlyingFox FileHTTPHandler.swift
[68/91] Compiling FlyingFox ProxyHTTPHandler.swift
[69/91] Compiling FlyingFox RedirectHTTPHandler.swift
[70/91] Compiling FlyingFox HTTPServer.swift
[71/91] Compiling FlyingFox HTTPStatusCode.swift
[72/91] Compiling FlyingFox HTTPVersion.swift
[73/91] Compiling FlyingFox ClosureHTTPHandler.swift
[74/91] Compiling FlyingFox RoutedHTTPHandler.swift
[75/91] Compiling FlyingFox WebSocketHTTPHandler.swift
[76/91] Compiling FlyingFox SocketAddress+Glibc.swift
[77/91] Compiling FlyingFox URLSession+Async.swift
[78/91] Compiling FlyingFox HTTPRoute.swift
[79/91] Compiling FlyingFox HTTPRouteParameterValue.swift
[80/91] Compiling FlyingFox HTTPServer+Configuration.swift
[81/91] Compiling FlyingFox HTTPServer+Listening.swift
[82/91] Compiling FlyingFox HTTPConnection.swift
[83/91] Compiling FlyingFox HTTPDecoder.swift
[84/91] Compiling FlyingFox HTTPEncoder.swift
[85/91] Compiling FlyingFox HTTPHandler.swift
[86/91] Compiling FlyingFox HTTPHeader.swift
[87/91] Compiling FlyingFox WSFrameEncoder.swift
[88/91] Compiling FlyingFox WSFrameValidator.swift
[89/91] Compiling FlyingFox WSHandler.swift
[90/91] Compiling FlyingFox WSMessage.swift
[91/94] Emitting module SnapshottingSwift
[92/94] Compiling SnapshottingSwift Snapshots.swift
[93/94] Compiling SnapshottingSwift Initializer.swift
Build of target: 'Snapshotting' complete! (2.85s)
error: unspecified("terminated(1): /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-symbolgraph-extract -Xcc -std=c++11 -I /Users/admin/builder/spi-builder-workspace/Sources/Snapshotting/include -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SnapshottingSwift.build/module.modulemap -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FlyingFox.build/module.modulemap -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FlyingSocks.build/module.modulemap -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SnapshotPreviewsCore.build/module.modulemap -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SnapshotSharedModels.build/module.modulemap -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/PreviewsSupport/PreviewsSupport.xcframework/macos-arm64_x86_64 -Xcc -fmodules -Xcc -fmodule-name=Snapshotting -Xcc -fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Snapshotting.build/module.modulemap -module-name Snapshotting -target arm64-apple-macosx12.0 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -minimum-access-level public -skip-inherited-docs -emit-extension-block-symbols -output-dir /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/extracted-symbols/spi-builder-workspace/Snapshotting output:\n Setting up ASTContext failed\n <unknown>:0: error: invalid argument \'-std=c++11\' not allowed with \'Objective-C\'\n <unknown>:0: error: clang importer creation failed\n ")
Extracting symbol information for 'Snapshotting'...
Building for debugging...
[0/3] Write swift-version-5BDAB9E9C0126B9D.txt
Build of product 'snippet-extract' complete! (0.19s)
Building for debugging...
[0/2] Write swift-version-5BDAB9E9C0126B9D.txt
Build of target: 'Snapshotting' complete! (0.19s)
error: unspecified("terminated(1): /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-symbolgraph-extract -Xcc -std=c++11 -I /Users/admin/builder/spi-builder-workspace/Sources/Snapshotting/include -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SnapshottingSwift.build/module.modulemap -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FlyingFox.build/module.modulemap -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FlyingSocks.build/module.modulemap -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SnapshotPreviewsCore.build/module.modulemap -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SnapshotSharedModels.build/module.modulemap -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/PreviewsSupport/PreviewsSupport.xcframework/macos-arm64_x86_64 -Xcc -fmodules -Xcc -fmodule-name=Snapshotting -Xcc -fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -Xcc -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Snapshotting.build/module.modulemap -module-name Snapshotting -target arm64-apple-macosx12.0 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -minimum-access-level public -skip-inherited-docs -emit-extension-block-symbols -output-dir /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/extracted-symbols/spi-builder-workspace/Snapshotting output:\n Setting up ASTContext failed\n <unknown>:0: error: invalid argument \'-std=c++11\' not allowed with \'Objective-C\'\n <unknown>:0: error: clang importer creation failed\n ")
Error while generating docs: retryLimitExceeded(lastError: Optional(Shell command failed:
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift package --allow-writing-to-directory .docs/emergetools/snapshotpreviews/v0.10.22 generate-documentation --emit-digest --disable-indexing --output-path .docs/emergetools/snapshotpreviews/v0.10.22 --hosting-base-path emergetools/snapshotpreviews/v0.10.22 --source-service github --source-service-base-url https://github.com/EmergeTools/SnapshotPreviews/blob/v0.10.22 --checkout-path $PWD --target Snapshotting))
✅ Doc result (failed) reported
Done.