Build Information
Failed to build swift-snapshot-testing, reference 1.17.5 (7b0bbb), with Swift 6.1 for Linux on 9 Feb 2026 21:57:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tdrhq/swift-snapshot-testing.git
Reference: 1.17.5
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/tdrhq/swift-snapshot-testing
* tag 1.17.5 -> FETCH_HEAD
HEAD is now at 7b0bbba Add an NB to @_implementationOnly import.
Cloned https://github.com/tdrhq/swift-snapshot-testing.git
Revision (git rev-parse @):
7b0bbbae90c41f848f90ac7b4df6c4f50068256d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tdrhq/swift-snapshot-testing.git at 1.17.5
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/tdrhq/swift-snapshot-testing.git
https://github.com/tdrhq/swift-snapshot-testing.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "601.0.0-prerelease"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax"
}
],
"manifest_display_name" : "swift-snapshot-testing",
"name" : "swift-snapshot-testing",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SnapshotTesting",
"targets" : [
"SnapshotTesting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InlineSnapshotTesting",
"targets" : [
"InlineSnapshotTesting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SnapshotTestingTests",
"module_type" : "SwiftTarget",
"name" : "SnapshotTestingTests",
"path" : "Tests/SnapshotTestingTests",
"sources" : [
"AssertSnapshotSwiftTests.swift",
"DeprecationTests.swift",
"RecordTests.swift",
"SnapshotTestingTests.swift",
"SnapshotsTraitTests.swift",
"TestHelpers.swift",
"WaitTests.swift",
"WithSnapshotTestingTests.swift"
],
"target_dependencies" : [
"SnapshotTesting"
],
"type" : "test"
},
{
"c99name" : "SnapshotTesting",
"module_type" : "SwiftTarget",
"name" : "SnapshotTesting",
"path" : "Sources/SnapshotTesting",
"product_memberships" : [
"SnapshotTesting",
"InlineSnapshotTesting"
],
"sources" : [
"AssertSnapshot.swift",
"Async.swift",
"Common/Internal.swift",
"Common/PlistEncoder.swift",
"Common/String+SpecialCharacters.swift",
"Common/View.swift",
"Common/XCTAttachment.swift",
"Diff.swift",
"Diffing.swift",
"Extensions/Wait.swift",
"Internal/Deprecations.swift",
"Internal/RecordIssue.swift",
"SnapshotTestingConfiguration.swift",
"SnapshotsTestTrait.swift",
"Snapshotting.swift",
"Snapshotting/Any.swift",
"Snapshotting/CALayer.swift",
"Snapshotting/CGPath.swift",
"Snapshotting/CaseIterable.swift",
"Snapshotting/Data.swift",
"Snapshotting/Encodable.swift",
"Snapshotting/NSBezierPath.swift",
"Snapshotting/NSImage.swift",
"Snapshotting/NSView.swift",
"Snapshotting/NSViewController.swift",
"Snapshotting/SceneKit.swift",
"Snapshotting/SpriteKit.swift",
"Snapshotting/String.swift",
"Snapshotting/SwiftUIView.swift",
"Snapshotting/UIBezierPath.swift",
"Snapshotting/UIImage.swift",
"Snapshotting/UIView.swift",
"Snapshotting/UIViewController.swift",
"Snapshotting/URLRequest.swift"
],
"type" : "library"
},
{
"c99name" : "InlineSnapshotTestingTests",
"module_type" : "SwiftTarget",
"name" : "InlineSnapshotTestingTests",
"path" : "Tests/InlineSnapshotTestingTests",
"sources" : [
"AssertInlineSnapshotSwiftTests.swift",
"InlineSnapshotTestingTests.swift"
],
"target_dependencies" : [
"InlineSnapshotTesting"
],
"type" : "test"
},
{
"c99name" : "InlineSnapshotTesting",
"module_type" : "SwiftTarget",
"name" : "InlineSnapshotTesting",
"path" : "Sources/InlineSnapshotTesting",
"product_dependencies" : [
"SwiftParser",
"SwiftSyntax",
"SwiftSyntaxBuilder"
],
"product_memberships" : [
"InlineSnapshotTesting"
],
"sources" : [
"AssertInlineSnapshot.swift",
"Exports.swift"
],
"target_dependencies" : [
"SnapshotTesting"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/74106] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (7.23s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (8.13s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Building for debugging...
[0/13] Write sources
[11/13] Compiling _SwiftSyntaxCShims dummy.c
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/50] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/50] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/51] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/51] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/52] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/52] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/117] Compiling SwiftSyntax Trivia.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:6:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Snapshotting where Value == String, Format == String {
5 | /// A snapshot strategy for comparing strings based on equality.
6 | public static let lines = Snapshotting(pathExtension: "txt", diffing: .lines)
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:11:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
9 | extension Diffing where Value == String {
10 | /// A line-diffing strategy for UTF-8 text.
11 | public static let lines = Diffing(
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | toData: { Data($0.utf8) },
13 | fromData: { String(decoding: $0, as: UTF8.self) }
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:5:15: note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
3 |
4 | /// The ability to compare `Value`s and convert them to and from `Data`.
5 | public struct Diffing<Value> {
| `- note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
6 | /// Converts a value _to_ data.
7 | public var toData: (Value) -> Data
[24/117] Compiling SwiftSyntax SourcePresence.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:6:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Snapshotting where Value == String, Format == String {
5 | /// A snapshot strategy for comparing strings based on equality.
6 | public static let lines = Snapshotting(pathExtension: "txt", diffing: .lines)
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:11:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
9 | extension Diffing where Value == String {
10 | /// A line-diffing strategy for UTF-8 text.
11 | public static let lines = Diffing(
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | toData: { Data($0.utf8) },
13 | fromData: { String(decoding: $0, as: UTF8.self) }
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:5:15: note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
3 |
4 | /// The ability to compare `Value`s and convert them to and from `Data`.
5 | public struct Diffing<Value> {
| `- note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
6 | /// Converts a value _to_ data.
7 | public var toData: (Value) -> Data
[25/117] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:6:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Snapshotting where Value == String, Format == String {
5 | /// A snapshot strategy for comparing strings based on equality.
6 | public static let lines = Snapshotting(pathExtension: "txt", diffing: .lines)
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:11:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
9 | extension Diffing where Value == String {
10 | /// A line-diffing strategy for UTF-8 text.
11 | public static let lines = Diffing(
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | toData: { Data($0.utf8) },
13 | fromData: { String(decoding: $0, as: UTF8.self) }
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:5:15: note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
3 |
4 | /// The ability to compare `Value`s and convert them to and from `Data`.
5 | public struct Diffing<Value> {
| `- note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
6 | /// Converts a value _to_ data.
7 | public var toData: (Value) -> Data
[26/117] Compiling SwiftSyntax Syntax.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:6:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Snapshotting where Value == String, Format == String {
5 | /// A snapshot strategy for comparing strings based on equality.
6 | public static let lines = Snapshotting(pathExtension: "txt", diffing: .lines)
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:11:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
9 | extension Diffing where Value == String {
10 | /// A line-diffing strategy for UTF-8 text.
11 | public static let lines = Diffing(
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | toData: { Data($0.utf8) },
13 | fromData: { String(decoding: $0, as: UTF8.self) }
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:5:15: note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
3 |
4 | /// The ability to compare `Value`s and convert them to and from `Data`.
5 | public struct Diffing<Value> {
| `- note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
6 | /// Converts a value _to_ data.
7 | public var toData: (Value) -> Data
[27/117] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[28/117] Compiling SwiftSyntax TokenDiagnostic.swift
[29/117] Compiling SwiftSyntax TokenSequence.swift
[30/117] Compiling SwiftSyntax TokenSyntax.swift
[31/117] Compiling SwiftSyntax RawSyntaxTokenView.swift
[32/117] Compiling SwiftSyntax SourceEdit.swift
[33/117] Compiling SwiftSyntax SourceLength.swift
[34/117] Compiling SwiftSyntax SourceLocation.swift
[35/117] Compiling SwiftSyntax SyntaxNodeFactory.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | }
167 | #else
168 | open var snapshotDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return purgePointers(self.debugDescription)
170 | }
[36/117] Compiling SwiftSyntax SyntaxNodeStructure.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | }
167 | #else
168 | open var snapshotDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return purgePointers(self.debugDescription)
170 | }
[37/117] Compiling SwiftSyntax SyntaxProtocol.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | }
167 | #else
168 | open var snapshotDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return purgePointers(self.debugDescription)
170 | }
[38/117] Compiling SwiftSyntax SyntaxText.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | }
167 | #else
168 | open var snapshotDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return purgePointers(self.debugDescription)
170 | }
[39/117] Compiling SwiftSyntax MissingNodeInitializers.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
2 | // NB: We are importing only the implementation of Testing because that framework is not available
3 | // in Xcode UI test targets.
4 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
5 |
6 | @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:321:13: warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
319 | // accurate. With the FileRecording values we keep track of we modify the files so we can adjust
320 | // line numbers.
321 | private var recordings: Recordings = [:]
| |- warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'recordings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'recordings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
5 |
6 | @_spi(Experimental)
7 | extension Trait where Self == _SnapshotsTestTrait {
| `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
8 | /// Configure snapshot testing in a suite or test.
9 | ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
| `- note: protocol declared here
2 | func prepare(for test: Test) async throws
3 | var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
| `- note: protocol declared here
2 | var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
| `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
| `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
[40/117] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
2 | // NB: We are importing only the implementation of Testing because that framework is not available
3 | // in Xcode UI test targets.
4 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
5 |
6 | @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:321:13: warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
319 | // accurate. With the FileRecording values we keep track of we modify the files so we can adjust
320 | // line numbers.
321 | private var recordings: Recordings = [:]
| |- warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'recordings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'recordings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
5 |
6 | @_spi(Experimental)
7 | extension Trait where Self == _SnapshotsTestTrait {
| `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
8 | /// Configure snapshot testing in a suite or test.
9 | ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
| `- note: protocol declared here
2 | func prepare(for test: Test) async throws
3 | var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
| `- note: protocol declared here
2 | var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
| `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
| `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
[41/117] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
2 | // NB: We are importing only the implementation of Testing because that framework is not available
3 | // in Xcode UI test targets.
4 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
5 |
6 | @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:321:13: warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
319 | // accurate. With the FileRecording values we keep track of we modify the files so we can adjust
320 | // line numbers.
321 | private var recordings: Recordings = [:]
| |- warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'recordings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'recordings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
5 |
6 | @_spi(Experimental)
7 | extension Trait where Self == _SnapshotsTestTrait {
| `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
8 | /// Configure snapshot testing in a suite or test.
9 | ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
| `- note: protocol declared here
2 | func prepare(for test: Test) async throws
3 | var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
| `- note: protocol declared here
2 | var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
| `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
| `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
[42/117] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
2 | // NB: We are importing only the implementation of Testing because that framework is not available
3 | // in Xcode UI test targets.
4 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
5 |
6 | @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:321:13: warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
319 | // accurate. With the FileRecording values we keep track of we modify the files so we can adjust
320 | // line numbers.
321 | private var recordings: Recordings = [:]
| |- warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'recordings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'recordings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
5 |
6 | @_spi(Experimental)
7 | extension Trait where Self == _SnapshotsTestTrait {
| `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
8 | /// Configure snapshot testing in a suite or test.
9 | ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
| `- note: protocol declared here
2 | func prepare(for test: Test) async throws
3 | var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
| `- note: protocol declared here
2 | var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
| `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
| `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
[43/117] Compiling SwiftSyntax CommonAncestor.swift
[44/117] Compiling SwiftSyntax Convenience.swift
[45/117] Compiling SwiftSyntax CustomTraits.swift
[46/117] Compiling SwiftSyntax Identifier.swift
[47/117] Compiling SwiftSyntax MemoryLayout.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/121] Emitting module SnapshotTesting
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
2 | // NB: We are importing only the implementation of Testing because that framework is not available
3 | // in Xcode UI test targets.
4 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
5 |
6 | @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:44:12: warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @_spi(Internals)
44 | public var __diffTool: SnapshotTestingConfiguration.DiffTool = .default
| |- warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__diffTool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__diffTool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:77:12: warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | @_spi(Internals)
77 | public var __record: SnapshotTestingConfiguration.Record = {
| |- warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__record' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__record' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
79 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:467:13: warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
467 | private var counterMap: [URL: Int] = [:]
| |- warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counterMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'counterMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
468 |
469 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:478:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
476 | // We need to clean counter between tests executions in order to support test-iterations.
477 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
478 | private static var registered = false
| |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
479 |
480 | static func registerIfNeeded() {
/host/spi-builder-workspace/Sources/SnapshotTesting/Common/PlistEncoder.swift:2245:13: warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
2243 | // Since plists do not support null values by default, we will encode them as "$null".
2244 | private let _plistNull = "$null"
2245 | private let _plistNullNSString = NSString(string: _plistNull)
| |- warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_plistNullNSString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2246 |
2247 | //===----------------------------------------------------------------------===//
Foundation.NSString:1:12: note: class 'NSString' does not conform to the 'Sendable' protocol
1 | open class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
| `- note: class 'NSString' does not conform to the 'Sendable' protocol
2 | open var length: Int { get }
3 | open func character(at index: Int) -> unichar
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:321:13: warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
319 | // accurate. With the FileRecording values we keep track of we modify the files so we can adjust
320 | // line numbers.
321 | private var recordings: Recordings = [:]
| |- warning: var 'recordings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'recordings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'recordings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
5 |
6 | @_spi(Experimental)
7 | extension Trait where Self == _SnapshotsTestTrait {
| `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
8 | /// Configure snapshot testing in a suite or test.
9 | ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
| `- note: protocol declared here
2 | func prepare(for test: Test) async throws
3 | var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
| `- note: protocol declared here
2 | var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
| `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
| `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | }
167 | #else
168 | open var snapshotDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return purgePointers(self.debugDescription)
170 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:6:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Snapshotting where Value == String, Format == String {
5 | /// A snapshot strategy for comparing strings based on equality.
6 | public static let lines = Snapshotting(pathExtension: "txt", diffing: .lines)
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Snapshotting<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:11:21: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
9 | extension Diffing where Value == String {
10 | /// A line-diffing strategy for UTF-8 text.
11 | public static let lines = Diffing(
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'Diffing<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | toData: { Data($0.utf8) },
13 | fromData: { String(decoding: $0, as: UTF8.self) }
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:5:15: note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
3 |
4 | /// The ability to compare `Value`s and convert them to and from `Data`.
5 | public struct Diffing<Value> {
| `- note: consider making generic struct 'Diffing' conform to the 'Sendable' protocol
6 | /// Converts a value _to_ data.
7 | public var toData: (Value) -> Data
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:23:23: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// email=blob%40pointfree.co&name=Blob
22 | /// ```
23 | public static let raw = Snapshotting.raw(pretty: false)
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'raw' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A snapshot strategy for comparing requests based on raw equality.
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:78:23: warning: static property 'curl' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
76 | // "https://www.pointfree.co/subscribe"
77 | // ```
78 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- warning: static property 'curl' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'curl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | var components = ["curl"]
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
[49/121] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:44:12: warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @_spi(Internals)
44 | public var __diffTool: SnapshotTestingConfiguration.DiffTool = .default
| |- warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__diffTool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__diffTool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:77:12: warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | @_spi(Internals)
77 | public var __record: SnapshotTestingConfiguration.Record = {
| |- warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__record' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__record' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
79 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:467:13: warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
467 | private var counterMap: [URL: Int] = [:]
| |- warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counterMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'counterMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
468 |
469 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:478:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
476 | // We need to clean counter between tests executions in order to support test-iterations.
477 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
478 | private static var registered = false
| |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
479 |
480 | static func registerIfNeeded() {
/host/spi-builder-workspace/Sources/SnapshotTesting/Common/PlistEncoder.swift:2245:13: warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
2243 | // Since plists do not support null values by default, we will encode them as "$null".
2244 | private let _plistNull = "$null"
2245 | private let _plistNullNSString = NSString(string: _plistNull)
| |- warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_plistNullNSString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2246 |
2247 | //===----------------------------------------------------------------------===//
Foundation.NSString:1:12: note: class 'NSString' does not conform to the 'Sendable' protocol
1 | open class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
| `- note: class 'NSString' does not conform to the 'Sendable' protocol
2 | open var length: Int { get }
3 | open func character(at index: Int) -> unichar
[50/121] Compiling SwiftSyntax AbsoluteRawSyntax.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:44:12: warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @_spi(Internals)
44 | public var __diffTool: SnapshotTestingConfiguration.DiffTool = .default
| |- warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__diffTool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__diffTool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:77:12: warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | @_spi(Internals)
77 | public var __record: SnapshotTestingConfiguration.Record = {
| |- warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__record' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__record' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
79 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:467:13: warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
467 | private var counterMap: [URL: Int] = [:]
| |- warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counterMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'counterMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
468 |
469 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:478:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
476 | // We need to clean counter between tests executions in order to support test-iterations.
477 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
478 | private static var registered = false
| |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
479 |
480 | static func registerIfNeeded() {
/host/spi-builder-workspace/Sources/SnapshotTesting/Common/PlistEncoder.swift:2245:13: warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
2243 | // Since plists do not support null values by default, we will encode them as "$null".
2244 | private let _plistNull = "$null"
2245 | private let _plistNullNSString = NSString(string: _plistNull)
| |- warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_plistNullNSString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2246 |
2247 | //===----------------------------------------------------------------------===//
Foundation.NSString:1:12: note: class 'NSString' does not conform to the 'Sendable' protocol
1 | open class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
| `- note: class 'NSString' does not conform to the 'Sendable' protocol
2 | open var length: Int { get }
3 | open func character(at index: Int) -> unichar
[51/121] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:44:12: warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @_spi(Internals)
44 | public var __diffTool: SnapshotTestingConfiguration.DiffTool = .default
| |- warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__diffTool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__diffTool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:77:12: warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | @_spi(Internals)
77 | public var __record: SnapshotTestingConfiguration.Record = {
| |- warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__record' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__record' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
79 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:467:13: warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
467 | private var counterMap: [URL: Int] = [:]
| |- warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counterMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'counterMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
468 |
469 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:478:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
476 | // We need to clean counter between tests executions in order to support test-iterations.
477 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
478 | private static var registered = false
| |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
479 |
480 | static func registerIfNeeded() {
/host/spi-builder-workspace/Sources/SnapshotTesting/Common/PlistEncoder.swift:2245:13: warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
2243 | // Since plists do not support null values by default, we will encode them as "$null".
2244 | private let _plistNull = "$null"
2245 | private let _plistNullNSString = NSString(string: _plistNull)
| |- warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_plistNullNSString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2246 |
2247 | //===----------------------------------------------------------------------===//
Foundation.NSString:1:12: note: class 'NSString' does not conform to the 'Sendable' protocol
1 | open class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
| `- note: class 'NSString' does not conform to the 'Sendable' protocol
2 | open var length: Int { get }
3 | open func character(at index: Int) -> unichar
[52/121] Compiling SwiftSyntax Assert.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:44:12: warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @_spi(Internals)
44 | public var __diffTool: SnapshotTestingConfiguration.DiffTool = .default
| |- warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__diffTool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__diffTool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:77:12: warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | @_spi(Internals)
77 | public var __record: SnapshotTestingConfiguration.Record = {
| |- warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__record' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__record' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
79 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:467:13: warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
467 | private var counterMap: [URL: Int] = [:]
| |- warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counterMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'counterMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
468 |
469 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:478:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
476 | // We need to clean counter between tests executions in order to support test-iterations.
477 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
478 | private static var registered = false
| |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
479 |
480 | static func registerIfNeeded() {
/host/spi-builder-workspace/Sources/SnapshotTesting/Common/PlistEncoder.swift:2245:13: warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
2243 | // Since plists do not support null values by default, we will encode them as "$null".
2244 | private let _plistNull = "$null"
2245 | private let _plistNullNSString = NSString(string: _plistNull)
| |- warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_plistNullNSString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2246 |
2247 | //===----------------------------------------------------------------------===//
Foundation.NSString:1:12: note: class 'NSString' does not conform to the 'Sendable' protocol
1 | open class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
| `- note: class 'NSString' does not conform to the 'Sendable' protocol
2 | open var length: Int { get }
3 | open func character(at index: Int) -> unichar
[53/121] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:44:12: warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @_spi(Internals)
44 | public var __diffTool: SnapshotTestingConfiguration.DiffTool = .default
| |- warning: var '__diffTool' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__diffTool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__diffTool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:77:12: warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | @_spi(Internals)
77 | public var __record: SnapshotTestingConfiguration.Record = {
| |- warning: var '__record' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__record' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '__record' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
79 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:467:13: warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
467 | private var counterMap: [URL: Int] = [:]
| |- warning: var 'counterMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'counterMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'counterMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
468 |
469 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:478:22: warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
476 | // We need to clean counter between tests executions in order to support test-iterations.
477 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
478 | private static var registered = false
| |- warning: static property 'registered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'registered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
479 |
480 | static func registerIfNeeded() {
/host/spi-builder-workspace/Sources/SnapshotTesting/Common/PlistEncoder.swift:2245:13: warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
2243 | // Since plists do not support null values by default, we will encode them as "$null".
2244 | private let _plistNull = "$null"
2245 | private let _plistNullNSString = NSString(string: _plistNull)
| |- warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_plistNullNSString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2246 |
2247 | //===----------------------------------------------------------------------===//
Foundation.NSString:1:12: note: class 'NSString' does not conform to the 'Sendable' protocol
1 | open class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
| `- note: class 'NSString' does not conform to the 'Sendable' protocol
2 | open var length: Int { get }
3 | open func character(at index: Int) -> unichar
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/129] Compiling SnapshotTesting UIImage.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:23:23: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// email=blob%40pointfree.co&name=Blob
22 | /// ```
23 | public static let raw = Snapshotting.raw(pretty: false)
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'raw' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A snapshot strategy for comparing requests based on raw equality.
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:78:23: warning: static property 'curl' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
76 | // "https://www.pointfree.co/subscribe"
77 | // ```
78 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- warning: static property 'curl' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'curl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | var components = ["curl"]
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
[64/129] Compiling SnapshotTesting UIView.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:23:23: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// email=blob%40pointfree.co&name=Blob
22 | /// ```
23 | public static let raw = Snapshotting.raw(pretty: false)
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'raw' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A snapshot strategy for comparing requests based on raw equality.
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:78:23: warning: static property 'curl' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
76 | // "https://www.pointfree.co/subscribe"
77 | // ```
78 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- warning: static property 'curl' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'curl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | var components = ["curl"]
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
[65/129] Compiling SnapshotTesting UIViewController.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:23:23: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// email=blob%40pointfree.co&name=Blob
22 | /// ```
23 | public static let raw = Snapshotting.raw(pretty: false)
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'raw' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A snapshot strategy for comparing requests based on raw equality.
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:78:23: warning: static property 'curl' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
76 | // "https://www.pointfree.co/subscribe"
77 | // ```
78 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- warning: static property 'curl' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'curl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | var components = ["curl"]
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
[66/129] Compiling SnapshotTesting URLRequest.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:23:23: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// email=blob%40pointfree.co&name=Blob
22 | /// ```
23 | public static let raw = Snapshotting.raw(pretty: false)
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'raw' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A snapshot strategy for comparing requests based on raw equality.
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:78:23: warning: static property 'curl' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
76 | // "https://www.pointfree.co/subscribe"
77 | // ```
78 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- warning: static property 'curl' is not concurrency-safe because non-'Sendable' type 'Snapshotting<URLRequest, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'curl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | var components = ["curl"]
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:6:15: note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
4 | /// A type representing the ability to transform a snapshottable value into a diffable format (like
5 | /// text or an image) for snapshot testing.
6 | public struct Snapshotting<Value, Format> {
| `- note: consider making generic struct 'Snapshotting' conform to the 'Sendable' protocol
7 | /// The path extension applied to references saved to disk.
8 | public var pathExtension: String?
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/InlineSnapshotTestingTests/InlineSnapshotTesting.xctestplan
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/24] Emitting module SwiftSyntax600
[3/37] Compiling SwiftSyntax600 Empty.swift
[4/38] Emitting module SwiftSyntax509
[5/38] Compiling SwiftSyntax509 Empty.swift
[6/40] Emitting module SwiftSyntax510
[7/40] Compiling SwiftSyntax510 Empty.swift
[11/105] Compiling SwiftSyntax TokenDiagnostic.swift
[12/105] Compiling SwiftSyntax TokenSequence.swift
[13/105] Compiling SwiftSyntax TokenSyntax.swift
[14/105] Compiling SwiftSyntax Trivia.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/109] Compiling SwiftSyntax SourcePresence.swift
[16/109] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[17/109] Compiling SwiftSyntax Syntax.swift
[18/109] Compiling SwiftSyntax SyntaxArena.swift
[19/109] Emitting module SnapshotTesting
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
2 | // NB: We are importing only the implementation of Testing because that framework is not available
3 | // in Xcode UI test targets.
4 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
5 |
6 | @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
5 |
6 | @_spi(Experimental)
7 | extension Trait where Self == _SnapshotsTestTrait {
| `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
8 | /// Configure snapshot testing in a suite or test.
9 | ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
| `- note: protocol declared here
2 | func prepare(for test: Test) async throws
3 | var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
| `- note: protocol declared here
2 | var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
| `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
| `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | }
167 | #else
168 | open var snapshotDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return purgePointers(self.debugDescription)
170 | }
[20/109] Compiling SwiftSyntax CustomTraits.swift
[21/109] Compiling SwiftSyntax Identifier.swift
[22/109] Compiling SwiftSyntax MemoryLayout.swift
[23/109] Compiling SwiftSyntax MissingNodeInitializers.swift
[24/109] Compiling SwiftSyntax RawSyntax.swift
[25/109] Compiling SwiftSyntax SyntaxIdentifier.swift
[26/109] Compiling SwiftSyntax AbsolutePosition.swift
[27/109] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[28/109] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[29/109] Compiling SwiftSyntax Assert.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | }
167 | #else
168 | open var snapshotDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return purgePointers(self.debugDescription)
170 | }
[30/109] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | }
167 | #else
168 | open var snapshotDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return purgePointers(self.debugDescription)
170 | }
[31/109] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | }
167 | #else
168 | open var snapshotDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return purgePointers(self.debugDescription)
170 | }
[32/109] Compiling SwiftSyntax Convenience.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | }
167 | #else
168 | open var snapshotDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return purgePointers(self.debugDescription)
170 | }
[33/109] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
2 | // NB: We are importing only the implementation of Testing because that framework is not available
3 | // in Xcode UI test targets.
4 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
5 |
6 | @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
5 |
6 | @_spi(Experimental)
7 | extension Trait where Self == _SnapshotsTestTrait {
| `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
8 | /// Configure snapshot testing in a suite or test.
9 | ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
| `- note: protocol declared here
2 | func prepare(for test: Test) async throws
3 | var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
| `- note: protocol declared here
2 | var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
| `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
| `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
[34/109] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
2 | // NB: We are importing only the implementation of Testing because that framework is not available
3 | // in Xcode UI test targets.
4 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
5 |
6 | @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
5 |
6 | @_spi(Experimental)
7 | extension Trait where Self == _SnapshotsTestTrait {
| `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
8 | /// Configure snapshot testing in a suite or test.
9 | ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
| `- note: protocol declared here
2 | func prepare(for test: Test) async throws
3 | var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
| `- note: protocol declared here
2 | var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
| `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
| `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
[35/109] Compiling SwiftSyntax SyntaxCollection.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
2 | // NB: We are importing only the implementation of Testing because that framework is not available
3 | // in Xcode UI test targets.
4 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
5 |
6 | @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
5 |
6 | @_spi(Experimental)
7 | extension Trait where Self == _SnapshotsTestTrait {
| `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
8 | /// Configure snapshot testing in a suite or test.
9 | ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
| `- note: protocol declared here
2 | func prepare(for test: Test) async throws
3 | var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
| `- note: protocol declared here
2 | var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
| `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
| `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
[36/109] Compiling SwiftSyntax SyntaxHashable.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
2 | // NB: We are importing only the implementation of Testing because that framework is not available
3 | // in Xcode UI test targets.
4 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
5 |
6 | @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
5 |
6 | @_spi(Experimental)
7 | extension Trait where Self == _SnapshotsTestTrait {
| `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
8 | /// Configure snapshot testing in a suite or test.
9 | ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
| `- note: protocol declared here
2 | func prepare(for test: Test) async throws
3 | var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
| `- note: protocol declared here
2 | var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
| `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 | /// A type representing the configuration of snapshot testing.
36 | @_spi(Experimental)
37 | public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
| |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
| `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 | public let isRecursive = true
39 | let configuration: SnapshotTestingConfiguration
[37/109] Compiling SnapshotTesting UIImage.swift
[38/109] Compiling SnapshotTesting UIView.swift
[39/109] Compiling SnapshotTesting UIViewController.swift
[40/109] Compiling SnapshotTesting URLRequest.swift
[41/109] Compiling SwiftSyntax SyntaxNodeFactory.swift
[42/109] Compiling SwiftSyntax SyntaxNodeStructure.swift
[43/109] Compiling SwiftSyntax SyntaxProtocol.swift
[44/109] Compiling SwiftSyntax SyntaxText.swift
[45/109] Compiling SwiftSyntax SyntaxTreeViewMode.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
4 | // NB: We are importing only the implementation of Testing because that framework is not available
5 | // in Xcode UI test targets.
6 | @_implementationOnly import Testing
| `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution
7 | #endif
8 |
[71/117] Compiling SwiftSyntax SourceLength.swift
[72/117] Compiling SwiftSyntax SourceLocation.swift
BUILD FAILURE 6.1 linux