Build Information
Successful build of swift-snapshot-testing, reference main (a3650f
), with Swift 6.0 for Linux on 5 Nov 2024 16:39:44 UTC.
Swift 6 data race errors: 13
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihai8804858/swift-snapshot-testing.git
Reference: main
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/mihai8804858/swift-snapshot-testing
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a3650f0 Support visionOS
Cloned https://github.com/mihai8804858/swift-snapshot-testing.git
Revision (git rev-parse @):
a3650f05218407222aed2f5a632c43e4973378cc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mihai8804858/swift-snapshot-testing.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/mihai8804858/swift-snapshot-testing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/66408] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.61s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (2.03s)
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] Emitting module SwiftSyntax600
[15/50] Compiling SwiftSyntax600 Empty.swift
[16/51] Emitting module SwiftSyntax510
[17/51] Compiling SwiftSyntax510 Empty.swift
[20/52] Emitting module SwiftSyntax509
[21/52] Compiling SwiftSyntax509 Empty.swift
[23/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[24/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[25/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[26/117] Compiling SwiftSyntax SyntaxArena.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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[27/121] Emitting module SnapshotTesting
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:42: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
40 |
41 | @_spi(Internals)
42 | 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: annotate '__diffTool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:75: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
73 |
74 | @_spi(Internals)
75 | 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: annotate '__record' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
77 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:465: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
463 |
464 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
465 | 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: annotate 'counterMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 |
467 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:476: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
474 | // We need to clean counter between tests executions in order to support test-iterations.
475 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
476 | 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: annotate 'registered' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
477 |
478 | 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: annotate '_plistNullNSString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'recordings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'raw' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// 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: annotate 'curl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[28/121] Compiling SwiftSyntax AbsolutePosition.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 | }
/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[29/121] Compiling SwiftSyntax AbsoluteRawSyntax.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 | }
/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[30/121] Compiling SwiftSyntax AbsoluteSyntaxInfo.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 | }
/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[31/121] 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 | }
/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[32/121] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[33/121] Compiling SwiftSyntax SyntaxChildren.swift
[34/121] Compiling SwiftSyntax SyntaxCollection.swift
[35/121] Compiling SwiftSyntax SyntaxHashable.swift
[36/121] Compiling SwiftSyntax SyntaxIdentifier.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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[37/121] Compiling SwiftSyntax SyntaxNodeFactory.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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[38/121] Compiling SwiftSyntax SyntaxNodeStructure.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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[39/121] Compiling SwiftSyntax SyntaxProtocol.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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[40/121] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[41/121] Compiling SwiftSyntax RawSyntaxTokenView.swift
[42/121] Compiling SwiftSyntax SourceEdit.swift
[43/121] Compiling SwiftSyntax SourceLength.swift
[44/121] Compiling SwiftSyntax SourceLocation.swift
[45/121] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:42: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
40 |
41 | @_spi(Internals)
42 | 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: annotate '__diffTool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:75: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
73 |
74 | @_spi(Internals)
75 | 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: annotate '__record' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
77 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:465: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
463 |
464 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
465 | 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: annotate 'counterMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 |
467 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:476: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
474 | // We need to clean counter between tests executions in order to support test-iterations.
475 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
476 | 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: annotate 'registered' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
477 |
478 | 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: annotate '_plistNullNSString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[46/121] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:42: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
40 |
41 | @_spi(Internals)
42 | 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: annotate '__diffTool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:75: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
73 |
74 | @_spi(Internals)
75 | 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: annotate '__record' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
77 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:465: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
463 |
464 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
465 | 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: annotate 'counterMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 |
467 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:476: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
474 | // We need to clean counter between tests executions in order to support test-iterations.
475 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
476 | 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: annotate 'registered' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
477 |
478 | 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: annotate '_plistNullNSString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[47/121] Compiling SwiftSyntax Convenience.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:42: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
40 |
41 | @_spi(Internals)
42 | 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: annotate '__diffTool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:75: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
73 |
74 | @_spi(Internals)
75 | 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: annotate '__record' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
77 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:465: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
463 |
464 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
465 | 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: annotate 'counterMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 |
467 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:476: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
474 | // We need to clean counter between tests executions in order to support test-iterations.
475 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
476 | 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: annotate 'registered' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
477 |
478 | 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: annotate '_plistNullNSString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[48/121] Compiling SwiftSyntax CustomTraits.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:42: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
40 |
41 | @_spi(Internals)
42 | 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: annotate '__diffTool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:75: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
73 |
74 | @_spi(Internals)
75 | 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: annotate '__record' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
77 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:465: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
463 |
464 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
465 | 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: annotate 'counterMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 |
467 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:476: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
474 | // We need to clean counter between tests executions in order to support test-iterations.
475 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
476 | 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: annotate 'registered' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
477 |
478 | 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: annotate '_plistNullNSString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[49/121] Compiling SwiftSyntax Identifier.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:42: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
40 |
41 | @_spi(Internals)
42 | 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: annotate '__diffTool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Whether or not to record all new references.
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:75: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
73 |
74 | @_spi(Internals)
75 | 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: annotate '__record' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | if let value = ProcessInfo.processInfo.environment["SNAPSHOT_TESTING_RECORD"],
77 | let record = SnapshotTestingConfiguration.Record(rawValue: value)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:465: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
463 |
464 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
465 | 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: annotate 'counterMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 |
467 | func sanitizePathComponent(_ string: String) -> String {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:476: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
474 | // We need to clean counter between tests executions in order to support test-iterations.
475 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
476 | 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: annotate 'registered' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
477 |
478 | 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: annotate '_plistNullNSString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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 MemoryLayout.swift
/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: annotate 'recordings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
[51/121] Compiling SwiftSyntax MissingNodeInitializers.swift
/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: annotate 'recordings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
[52/121] Compiling SwiftSyntax RawSyntax.swift
/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: annotate 'recordings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
[53/121] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/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: annotate 'recordings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | // Deprecated after 1.11.1:
[54/121] 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: annotate 'raw' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// 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: annotate 'curl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[55/121] 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: annotate 'raw' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// 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: annotate 'curl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[56/121] 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: annotate 'raw' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// 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: annotate 'curl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[57/121] 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: annotate 'raw' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// 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: annotate 'curl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
/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: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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?
[86/130] Emitting module SwiftSyntax
[87/130] Compiling SwiftSyntax SyntaxKind.swift
[88/130] Compiling SwiftSyntax SyntaxRewriter.swift
[89/130] Compiling SwiftSyntax SyntaxTraits.swift
[90/130] Compiling SwiftSyntax SyntaxVisitor.swift
[91/130] Compiling SwiftSyntax TokenKind.swift
[92/130] Compiling SwiftSyntax Tokens.swift
[93/130] Compiling SwiftSyntax TriviaPieces.swift
[94/130] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[95/130] Compiling SwiftSyntax RawSyntaxNodesC.swift
[96/130] Compiling SwiftSyntax RawSyntaxNodesD.swift
[97/130] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[98/130] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[99/130] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[100/130] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[101/130] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[102/130] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[103/130] Compiling SwiftSyntax RawSyntaxValidation.swift
[104/130] Compiling SwiftSyntax SyntaxNodesAB.swift
[112/130] Compiling SwiftSyntax TokenSyntax.swift
[113/130] Compiling SwiftSyntax Trivia.swift
[114/130] Compiling SwiftSyntax Utils.swift
[115/130] Compiling SwiftSyntax ChildNameForKeyPath.swift
[116/130] Compiling SwiftSyntax Keyword.swift
[117/130] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[118/130] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[119/130] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[120/130] Compiling SwiftSyntax SyntaxBaseNodes.swift
[121/130] Compiling SwiftSyntax SyntaxCollections.swift
[122/130] Compiling SwiftSyntax SyntaxEnum.swift
[123/130] Compiling SwiftSyntax SyntaxNodesC.swift
[124/130] Compiling SwiftSyntax SyntaxNodesD.swift
[125/130] Compiling SwiftSyntax SyntaxNodesEF.swift
[126/130] Compiling SwiftSyntax SyntaxNodesGHI.swift
[127/130] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[128/130] Compiling SwiftSyntax SyntaxNodesOP.swift
[129/130] Compiling SwiftSyntax SyntaxNodesQRS.swift
[130/130] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[132/188] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[133/188] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[134/188] Compiling SwiftBasicFormat Syntax+Extensions.swift
[135/188] Emitting module SwiftDiagnostics
[136/188] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[137/188] Compiling SwiftParser Expressions.swift
[138/189] Compiling SwiftBasicFormat InferIndentation.swift
[139/189] Compiling SwiftDiagnostics Message.swift
[140/189] Compiling SwiftDiagnostics Note.swift
[141/189] Compiling SwiftDiagnostics FixIt.swift
[142/189] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[143/189] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[144/189] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[145/189] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[146/189] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[148/190] Compiling SwiftBasicFormat BasicFormat.swift
[149/190] Emitting module SwiftBasicFormat
[151/191] Compiling SwiftParser LexemeSequence.swift
[152/191] Compiling SwiftParser Lexer.swift
[153/191] Compiling SwiftParser RegexLiteralLexer.swift
[154/191] Compiling SwiftParser UnicodeScalarExtensions.swift
[155/191] Compiling SwiftParser Lookahead.swift
[156/191] Compiling SwiftParser LoopProgressCondition.swift
[157/196] Compiling SwiftParser SwiftParserCompatibility.swift
[158/196] Compiling SwiftParser SwiftVersion.swift
[159/196] Compiling SwiftParser SyntaxUtils.swift
[160/196] Compiling SwiftParser TokenConsumer.swift
[161/196] Compiling SwiftParser TokenPrecedence.swift
[162/196] Compiling SwiftParser Modifiers.swift
[163/196] Compiling SwiftParser Names.swift
[164/196] Compiling SwiftParser Nominals.swift
[165/196] Compiling SwiftParser Parameters.swift
[166/196] Compiling SwiftParser ParseSourceFile.swift
[167/196] Compiling SwiftParser Parser.swift
[168/196] Compiling SwiftParser TokenSpec.swift
[169/196] Compiling SwiftParser TokenSpecSet.swift
[170/196] Compiling SwiftParser TopLevel.swift
[171/196] Compiling SwiftParser TriviaParser.swift
[172/196] Compiling SwiftParser Types.swift
[173/196] Compiling SwiftParser Patterns.swift
[174/196] Compiling SwiftParser Recovery.swift
[175/196] Compiling SwiftParser Specifiers.swift
[176/196] Compiling SwiftParser Statements.swift
[177/196] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[178/196] Compiling SwiftParser StringLiterals.swift
[179/196] Compiling SwiftParser Attributes.swift
[180/196] Compiling SwiftParser Availability.swift
[181/196] Compiling SwiftParser CharacterInfo.swift
[182/196] Compiling SwiftParser CollectionNodes+Parsable.swift
[183/196] Compiling SwiftParser Declarations.swift
[184/196] Compiling SwiftParser Directives.swift
[185/196] Emitting module SwiftParser
[190/196] Compiling SwiftParser Cursor.swift
[191/196] Compiling SwiftParser Lexeme.swift
[192/196] Compiling SwiftParser ExperimentalFeatures.swift
[193/196] Compiling SwiftParser IsLexerClassified.swift
[194/196] Compiling SwiftParser LayoutNodes+Parsable.swift
[195/196] Compiling SwiftParser Parser+TokenSpecSet.swift
[196/196] Compiling SwiftParser TokenSpecStaticMembers.swift
[198/210] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[199/211] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[200/211] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[201/211] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[202/211] Compiling SwiftParserDiagnostics Utils.swift
[203/211] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[204/211] Compiling SwiftParserDiagnostics PresenceUtils.swift
[205/211] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[206/211] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[207/211] Compiling SwiftParserDiagnostics MissingNodesError.swift
[208/211] Compiling SwiftParserDiagnostics MissingTokenError.swift
[209/211] Emitting module SwiftParserDiagnostics
[210/211] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[211/211] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[213/227] Compiling SwiftSyntaxBuilder Indenter.swift
[214/227] Compiling SwiftSyntaxBuilder ListBuilder.swift
[215/227] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[216/227] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[217/227] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[218/227] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[219/227] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[220/227] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[221/227] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[222/227] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[223/228] Emitting module SwiftSyntaxBuilder
[224/228] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[225/228] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[226/228] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[227/228] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[228/228] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[230/232] Compiling InlineSnapshotTesting Exports.swift
[231/232] Emitting module InlineSnapshotTesting
/host/spi-builder-workspace/Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift:352:24: warning: static property 'key' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
350 |
351 | extension DispatchQueue {
352 | private static let key = DispatchSpecificKey<UInt8>()
| `- warning: static property 'key' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
353 | private static let value: UInt8 = 0
354 |
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
2 |
3 | #if canImport(SwiftSyntax509)
:
350 |
351 | extension DispatchQueue {
352 | private static let key = DispatchSpecificKey<UInt8>()
| |- note: annotate 'key' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | private static let value: UInt8 = 0
354 |
/host/spi-builder-workspace/Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift:385:31: warning: var 'inlineSnapshotState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
383 | }
384 |
385 | @_spi(Internals) public var inlineSnapshotState: [File: [InlineSnapshot]] = [:]
| |- warning: var 'inlineSnapshotState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inlineSnapshotState' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'inlineSnapshotState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
386 |
387 | private struct TestSource {
/host/spi-builder-workspace/Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift:411:15: warning: var 'testSourceCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
409 | }
410 |
411 | private var testSourceCache: [File: TestSource] = [:]
| |- warning: var 'testSourceCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSourceCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'testSourceCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 |
413 | private func writeInlineSnapshots() {
[232/232] Compiling InlineSnapshotTesting AssertInlineSnapshot.swift
/host/spi-builder-workspace/Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift:352:24: warning: static property 'key' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
350 |
351 | extension DispatchQueue {
352 | private static let key = DispatchSpecificKey<UInt8>()
| `- warning: static property 'key' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
353 | private static let value: UInt8 = 0
354 |
Dispatch.DispatchSpecificKey:1:20: note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
1 | final public class DispatchSpecificKey<T> {
| `- note: generic class 'DispatchSpecificKey' does not conform to the 'Sendable' protocol
2 | public init()
3 | deinit
/host/spi-builder-workspace/Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
2 |
3 | #if canImport(SwiftSyntax509)
:
350 |
351 | extension DispatchQueue {
352 | private static let key = DispatchSpecificKey<UInt8>()
| |- note: annotate 'key' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | private static let value: UInt8 = 0
354 |
/host/spi-builder-workspace/Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift:385:31: warning: var 'inlineSnapshotState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
383 | }
384 |
385 | @_spi(Internals) public var inlineSnapshotState: [File: [InlineSnapshot]] = [:]
| |- warning: var 'inlineSnapshotState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inlineSnapshotState' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'inlineSnapshotState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
386 |
387 | private struct TestSource {
/host/spi-builder-workspace/Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift:411:15: warning: var 'testSourceCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
409 | }
410 |
411 | private var testSourceCache: [File: TestSource] = [:]
| |- warning: var 'testSourceCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSourceCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'testSourceCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 |
413 | private func writeInlineSnapshots() {
Build complete! (77.00s)
Build complete.
{
"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"
},
{
"name" : "visionos",
"version" : "1.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.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.