The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-snapshot-testing, reference 1.17.5 (7b0bbb), with Swift 6.3 for Wasm on 10 Apr 2026 13:18:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tdrhq/swift-snapshot-testing.git
Reference: 1.17.5
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/tdrhq/swift-snapshot-testing
 * tag               1.17.5     -> FETCH_HEAD
HEAD is now at 7b0bbba Add an NB to @_implementationOnly import.
Cloned https://github.com/tdrhq/swift-snapshot-testing.git
Revision (git rev-parse @):
7b0bbbae90c41f848f90ac7b4df6c4f50068256d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tdrhq/swift-snapshot-testing.git at 1.17.5
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/tdrhq/swift-snapshot-testing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/74937] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.89s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (9.67s)
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/50] Emitting module SnapshotTesting
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 5 |
 6 |   @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:466:28: error: cannot find 'DispatchQueue' in scope
464 | // MARK: - Private
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
    |                            `- error: cannot find 'DispatchQueue' in scope
467 | private var counterMap: [URL: Int] = [:]
468 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
166 |     }
167 |   #else
168 |     open var snapshotDescription: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
169 |       return purgePointers(self.debugDescription)
170 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[15/54] Compiling SnapshotTesting UIImage.swift
[16/54] Compiling SnapshotTesting UIView.swift
[17/54] Compiling SnapshotTesting UIViewController.swift
[18/54] Compiling SnapshotTesting URLRequest.swift
[19/54] Emitting module SwiftSyntax510
[20/54] Compiling SwiftSyntax510 Empty.swift
[22/55] Compiling SnapshotTesting NSImage.swift
[23/55] Compiling SnapshotTesting NSView.swift
[24/55] Compiling SnapshotTesting NSViewController.swift
[25/55] Compiling SnapshotTesting SceneKit.swift
[26/55] Emitting module SwiftSyntax600
[27/55] Compiling SwiftSyntax600 Empty.swift
[28/56] Compiling SwiftSyntax509 Empty.swift
[29/56] Emitting module SwiftSyntax509
[32/121] Compiling SwiftSyntax Trivia.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
[33/121] Compiling SwiftSyntax SyntaxKind.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
[34/121] Compiling SwiftSyntax SyntaxRewriter.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
[35/121] Compiling SwiftSyntax SyntaxTraits.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
[36/121] Compiling SwiftSyntax SyntaxNodeFactory.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
 8 |       pathExtension: nil,
 9 |       diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 |         guard old != new else { return nil }
   |                                        `- error: 'nil' requires a contextual type
11 |         let message =
12 |           old.count == new.count
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 |   /// - Parameter encoder: A JSON encoder.
29 |   public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 |     var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
   |                        |- error: generic parameter 'Format' could not be inferred
   |                        `- note: explicitly specify the generic arguments to fix this issue
31 |       try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 |   /// - Parameter encoder: A property list encoder.
71 |   public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 |     var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
   |                        |- error: generic parameter 'Format' could not be inferred
   |                        `- note: explicitly specify the generic arguments to fix this issue
73 |       try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
[37/121] Compiling SwiftSyntax SyntaxNodeStructure.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
 8 |       pathExtension: nil,
 9 |       diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 |         guard old != new else { return nil }
   |                                        `- error: 'nil' requires a contextual type
11 |         let message =
12 |           old.count == new.count
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 |   /// - Parameter encoder: A JSON encoder.
29 |   public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 |     var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
   |                        |- error: generic parameter 'Format' could not be inferred
   |                        `- note: explicitly specify the generic arguments to fix this issue
31 |       try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 |   /// - Parameter encoder: A property list encoder.
71 |   public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 |     var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
   |                        |- error: generic parameter 'Format' could not be inferred
   |                        `- note: explicitly specify the generic arguments to fix this issue
73 |       try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
[38/121] Compiling SwiftSyntax SyntaxProtocol.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
 8 |       pathExtension: nil,
 9 |       diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 |         guard old != new else { return nil }
   |                                        `- error: 'nil' requires a contextual type
11 |         let message =
12 |           old.count == new.count
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 |   /// - Parameter encoder: A JSON encoder.
29 |   public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 |     var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
   |                        |- error: generic parameter 'Format' could not be inferred
   |                        `- note: explicitly specify the generic arguments to fix this issue
31 |       try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 |   /// - Parameter encoder: A property list encoder.
71 |   public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 |     var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
   |                        |- error: generic parameter 'Format' could not be inferred
   |                        `- note: explicitly specify the generic arguments to fix this issue
73 |       try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
[39/121] Compiling SwiftSyntax SyntaxText.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
 8 |       pathExtension: nil,
 9 |       diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 |         guard old != new else { return nil }
   |                                        `- error: 'nil' requires a contextual type
11 |         let message =
12 |           old.count == new.count
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 |   /// - Parameter encoder: A JSON encoder.
29 |   public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 |     var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
   |                        |- error: generic parameter 'Format' could not be inferred
   |                        `- note: explicitly specify the generic arguments to fix this issue
31 |       try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 |   /// - Parameter encoder: A property list encoder.
71 |   public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 |     var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
   |                        |- error: generic parameter 'Format' could not be inferred
   |                        `- note: explicitly specify the generic arguments to fix this issue
73 |       try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
[40/121] Compiling SwiftSyntax MemoryLayout.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:22:29: error: cannot find 'XCTestExpectation' in scope
20 |       asyncSnapshot: { value in
21 |         Async { callback in
22 |           let expectation = XCTestExpectation(description: "Wait")
   |                             `- error: cannot find 'XCTestExpectation' in scope
23 |           DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
24 |             expectation.fulfill()
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:23:11: error: cannot find 'DispatchQueue' in scope
21 |         Async { callback in
22 |           let expectation = XCTestExpectation(description: "Wait")
23 |           DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
   |           `- error: cannot find 'DispatchQueue' in scope
24 |             expectation.fulfill()
25 |           }
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:26:15: error: cannot find 'XCTWaiter' in scope
24 |             expectation.fulfill()
25 |           }
26 |           _ = XCTWaiter.wait(for: [expectation], timeout: duration + 1)
   |               `- error: cannot find 'XCTWaiter' in scope
27 |           strategy.snapshot(value).run(callback)
28 |         }
[41/121] Compiling SwiftSyntax MissingNodeInitializers.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:22:29: error: cannot find 'XCTestExpectation' in scope
20 |       asyncSnapshot: { value in
21 |         Async { callback in
22 |           let expectation = XCTestExpectation(description: "Wait")
   |                             `- error: cannot find 'XCTestExpectation' in scope
23 |           DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
24 |             expectation.fulfill()
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:23:11: error: cannot find 'DispatchQueue' in scope
21 |         Async { callback in
22 |           let expectation = XCTestExpectation(description: "Wait")
23 |           DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
   |           `- error: cannot find 'DispatchQueue' in scope
24 |             expectation.fulfill()
25 |           }
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:26:15: error: cannot find 'XCTWaiter' in scope
24 |             expectation.fulfill()
25 |           }
26 |           _ = XCTWaiter.wait(for: [expectation], timeout: duration + 1)
   |               `- error: cannot find 'XCTWaiter' in scope
27 |           strategy.snapshot(value).run(callback)
28 |         }
[42/121] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:22:29: error: cannot find 'XCTestExpectation' in scope
20 |       asyncSnapshot: { value in
21 |         Async { callback in
22 |           let expectation = XCTestExpectation(description: "Wait")
   |                             `- error: cannot find 'XCTestExpectation' in scope
23 |           DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
24 |             expectation.fulfill()
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:23:11: error: cannot find 'DispatchQueue' in scope
21 |         Async { callback in
22 |           let expectation = XCTestExpectation(description: "Wait")
23 |           DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
   |           `- error: cannot find 'DispatchQueue' in scope
24 |             expectation.fulfill()
25 |           }
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:26:15: error: cannot find 'XCTWaiter' in scope
24 |             expectation.fulfill()
25 |           }
26 |           _ = XCTWaiter.wait(for: [expectation], timeout: duration + 1)
   |               `- error: cannot find 'XCTWaiter' in scope
27 |           strategy.snapshot(value).run(callback)
28 |         }
[43/121] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:22:29: error: cannot find 'XCTestExpectation' in scope
20 |       asyncSnapshot: { value in
21 |         Async { callback in
22 |           let expectation = XCTestExpectation(description: "Wait")
   |                             `- error: cannot find 'XCTestExpectation' in scope
23 |           DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
24 |             expectation.fulfill()
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:23:11: error: cannot find 'DispatchQueue' in scope
21 |         Async { callback in
22 |           let expectation = XCTestExpectation(description: "Wait")
23 |           DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
   |           `- error: cannot find 'DispatchQueue' in scope
24 |             expectation.fulfill()
25 |           }
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:26:15: error: cannot find 'XCTWaiter' in scope
24 |             expectation.fulfill()
25 |           }
26 |           _ = XCTWaiter.wait(for: [expectation], timeout: duration + 1)
   |               `- error: cannot find 'XCTWaiter' in scope
27 |           strategy.snapshot(value).run(callback)
28 |         }
[44/121] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:22:29: error: cannot find 'XCTestExpectation' in scope
20 |       asyncSnapshot: { value in
21 |         Async { callback in
22 |           let expectation = XCTestExpectation(description: "Wait")
   |                             `- error: cannot find 'XCTestExpectation' in scope
23 |           DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
24 |             expectation.fulfill()
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:23:11: error: cannot find 'DispatchQueue' in scope
21 |         Async { callback in
22 |           let expectation = XCTestExpectation(description: "Wait")
23 |           DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
   |           `- error: cannot find 'DispatchQueue' in scope
24 |             expectation.fulfill()
25 |           }
/host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift:26:15: error: cannot find 'XCTWaiter' in scope
24 |             expectation.fulfill()
25 |           }
26 |           _ = XCTWaiter.wait(for: [expectation], timeout: duration + 1)
   |               `- error: cannot find 'XCTWaiter' in scope
27 |           strategy.snapshot(value).run(callback)
28 |         }
[45/121] Compiling SwiftSyntax RawSyntaxTokenView.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:466:28: error: cannot find 'DispatchQueue' in scope
464 | // MARK: - Private
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
    |                            `- error: cannot find 'DispatchQueue' in scope
467 | private var counterMap: [URL: Int] = [:]
468 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:328:26: error: cannot find 'XCTestExpectation' in scope
326 |       try fileManager.createDirectory(at: snapshotDirectoryUrl, withIntermediateDirectories: true)
327 |
328 |       let tookSnapshot = XCTestExpectation(description: "Took snapshot")
    |                          `- error: cannot find 'XCTestExpectation' in scope
329 |       var optionalDiffable: Format?
330 |       snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:334:20: error: cannot find 'XCTWaiter' in scope
332 |         tookSnapshot.fulfill()
333 |       }
334 |       let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
    |                    `- error: cannot find 'XCTWaiter' in scope
335 |       switch result {
336 |       case .completed:
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:425:13: error: cannot find 'XCTContext' in scope
423 |         #if !os(Linux) && !os(Windows)
424 |           if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
425 |             XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |             `- error: cannot find 'XCTContext' in scope
426 |               attachments.forEach {
427 |                 activity.add($0)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:481:8: error: cannot find 'Thread' in scope
479 |
480 |   static func registerIfNeeded() {
481 |     if Thread.isMainThread {
    |        `- error: cannot find 'Thread' in scope
482 |       doRegisterIfNeeded()
483 |     } else {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:484:7: error: cannot find 'DispatchQueue' in scope
482 |       doRegisterIfNeeded()
483 |     } else {
484 |       DispatchQueue.main.sync {
    |       `- error: cannot find 'DispatchQueue' in scope
485 |         doRegisterIfNeeded()
486 |       }
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[46/121] Compiling SwiftSyntax SourceEdit.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:466:28: error: cannot find 'DispatchQueue' in scope
464 | // MARK: - Private
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
    |                            `- error: cannot find 'DispatchQueue' in scope
467 | private var counterMap: [URL: Int] = [:]
468 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:328:26: error: cannot find 'XCTestExpectation' in scope
326 |       try fileManager.createDirectory(at: snapshotDirectoryUrl, withIntermediateDirectories: true)
327 |
328 |       let tookSnapshot = XCTestExpectation(description: "Took snapshot")
    |                          `- error: cannot find 'XCTestExpectation' in scope
329 |       var optionalDiffable: Format?
330 |       snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:334:20: error: cannot find 'XCTWaiter' in scope
332 |         tookSnapshot.fulfill()
333 |       }
334 |       let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
    |                    `- error: cannot find 'XCTWaiter' in scope
335 |       switch result {
336 |       case .completed:
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:425:13: error: cannot find 'XCTContext' in scope
423 |         #if !os(Linux) && !os(Windows)
424 |           if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
425 |             XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |             `- error: cannot find 'XCTContext' in scope
426 |               attachments.forEach {
427 |                 activity.add($0)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:481:8: error: cannot find 'Thread' in scope
479 |
480 |   static func registerIfNeeded() {
481 |     if Thread.isMainThread {
    |        `- error: cannot find 'Thread' in scope
482 |       doRegisterIfNeeded()
483 |     } else {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:484:7: error: cannot find 'DispatchQueue' in scope
482 |       doRegisterIfNeeded()
483 |     } else {
484 |       DispatchQueue.main.sync {
    |       `- error: cannot find 'DispatchQueue' in scope
485 |         doRegisterIfNeeded()
486 |       }
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[47/121] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:466:28: error: cannot find 'DispatchQueue' in scope
464 | // MARK: - Private
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
    |                            `- error: cannot find 'DispatchQueue' in scope
467 | private var counterMap: [URL: Int] = [:]
468 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:328:26: error: cannot find 'XCTestExpectation' in scope
326 |       try fileManager.createDirectory(at: snapshotDirectoryUrl, withIntermediateDirectories: true)
327 |
328 |       let tookSnapshot = XCTestExpectation(description: "Took snapshot")
    |                          `- error: cannot find 'XCTestExpectation' in scope
329 |       var optionalDiffable: Format?
330 |       snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:334:20: error: cannot find 'XCTWaiter' in scope
332 |         tookSnapshot.fulfill()
333 |       }
334 |       let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
    |                    `- error: cannot find 'XCTWaiter' in scope
335 |       switch result {
336 |       case .completed:
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:425:13: error: cannot find 'XCTContext' in scope
423 |         #if !os(Linux) && !os(Windows)
424 |           if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
425 |             XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |             `- error: cannot find 'XCTContext' in scope
426 |               attachments.forEach {
427 |                 activity.add($0)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:481:8: error: cannot find 'Thread' in scope
479 |
480 |   static func registerIfNeeded() {
481 |     if Thread.isMainThread {
    |        `- error: cannot find 'Thread' in scope
482 |       doRegisterIfNeeded()
483 |     } else {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:484:7: error: cannot find 'DispatchQueue' in scope
482 |       doRegisterIfNeeded()
483 |     } else {
484 |       DispatchQueue.main.sync {
    |       `- error: cannot find 'DispatchQueue' in scope
485 |         doRegisterIfNeeded()
486 |       }
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[48/121] Compiling SwiftSyntax SourceLocation.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:466:28: error: cannot find 'DispatchQueue' in scope
464 | // MARK: - Private
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
    |                            `- error: cannot find 'DispatchQueue' in scope
467 | private var counterMap: [URL: Int] = [:]
468 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:328:26: error: cannot find 'XCTestExpectation' in scope
326 |       try fileManager.createDirectory(at: snapshotDirectoryUrl, withIntermediateDirectories: true)
327 |
328 |       let tookSnapshot = XCTestExpectation(description: "Took snapshot")
    |                          `- error: cannot find 'XCTestExpectation' in scope
329 |       var optionalDiffable: Format?
330 |       snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:334:20: error: cannot find 'XCTWaiter' in scope
332 |         tookSnapshot.fulfill()
333 |       }
334 |       let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
    |                    `- error: cannot find 'XCTWaiter' in scope
335 |       switch result {
336 |       case .completed:
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:425:13: error: cannot find 'XCTContext' in scope
423 |         #if !os(Linux) && !os(Windows)
424 |           if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
425 |             XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |             `- error: cannot find 'XCTContext' in scope
426 |               attachments.forEach {
427 |                 activity.add($0)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:481:8: error: cannot find 'Thread' in scope
479 |
480 |   static func registerIfNeeded() {
481 |     if Thread.isMainThread {
    |        `- error: cannot find 'Thread' in scope
482 |       doRegisterIfNeeded()
483 |     } else {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:484:7: error: cannot find 'DispatchQueue' in scope
482 |       doRegisterIfNeeded()
483 |     } else {
484 |       DispatchQueue.main.sync {
    |       `- error: cannot find 'DispatchQueue' in scope
485 |         doRegisterIfNeeded()
486 |       }
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[49/121] Compiling SwiftSyntax AbsolutePosition.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:466:28: error: cannot find 'DispatchQueue' in scope
464 | // MARK: - Private
465 |
466 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
    |                            `- error: cannot find 'DispatchQueue' in scope
467 | private var counterMap: [URL: Int] = [:]
468 |
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:328:26: error: cannot find 'XCTestExpectation' in scope
326 |       try fileManager.createDirectory(at: snapshotDirectoryUrl, withIntermediateDirectories: true)
327 |
328 |       let tookSnapshot = XCTestExpectation(description: "Took snapshot")
    |                          `- error: cannot find 'XCTestExpectation' in scope
329 |       var optionalDiffable: Format?
330 |       snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:334:20: error: cannot find 'XCTWaiter' in scope
332 |         tookSnapshot.fulfill()
333 |       }
334 |       let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
    |                    `- error: cannot find 'XCTWaiter' in scope
335 |       switch result {
336 |       case .completed:
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:425:13: error: cannot find 'XCTContext' in scope
423 |         #if !os(Linux) && !os(Windows)
424 |           if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
425 |             XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |             `- error: cannot find 'XCTContext' in scope
426 |               attachments.forEach {
427 |                 activity.add($0)
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:481:8: error: cannot find 'Thread' in scope
479 |
480 |   static func registerIfNeeded() {
481 |     if Thread.isMainThread {
    |        `- error: cannot find 'Thread' in scope
482 |       doRegisterIfNeeded()
483 |     } else {
/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:484:7: error: cannot find 'DispatchQueue' in scope
482 |       doRegisterIfNeeded()
483 |     } else {
484 |       DispatchQueue.main.sync {
    |       `- error: cannot find 'DispatchQueue' in scope
485 |         doRegisterIfNeeded()
486 |       }
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[50/121] Compiling SwiftSyntax AbsoluteRawSyntax.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
166 |     }
167 |   #else
168 |     open var snapshotDescription: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
169 |       return purgePointers(self.debugDescription)
170 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
 15 |   /// ```
 16 |   public static var description: Snapshotting {
 17 |     return SimplySnapshotting.lines.pullback(String.init(describing:))
    |            |- error: generic parameter 'Format' could not be inferred
    |            `- note: explicitly specify the generic arguments to fix this issue
 18 |   }
 19 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
 15 |   /// ```
 16 |   public static var description: Snapshotting {
 17 |     return SimplySnapshotting.lines.pullback(String.init(describing:))
    |                                                     `- error: generic parameter 'Subject' could not be inferred
 18 |   }
 19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
  |                   `- note: in call to initializer
3 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
 43 |   /// ```
 44 |   public static var dump: Snapshotting {
 45 |     return SimplySnapshotting.lines.pullback { snap($0) }
    |            |- error: generic parameter 'Format' could not be inferred
    |            `- note: explicitly specify the generic arguments to fix this issue
 46 |   }
 47 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
 56 |     ]
 57 |
 58 |     var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
    |                        |- error: generic parameter 'Format' could not be inferred
    |                        `- note: explicitly specify the generic arguments to fix this issue
 59 |       try! String(
 60 |         decoding: JSONSerialization.data(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
[51/121] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
166 |     }
167 |   #else
168 |     open var snapshotDescription: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
169 |       return purgePointers(self.debugDescription)
170 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
 15 |   /// ```
 16 |   public static var description: Snapshotting {
 17 |     return SimplySnapshotting.lines.pullback(String.init(describing:))
    |            |- error: generic parameter 'Format' could not be inferred
    |            `- note: explicitly specify the generic arguments to fix this issue
 18 |   }
 19 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
 15 |   /// ```
 16 |   public static var description: Snapshotting {
 17 |     return SimplySnapshotting.lines.pullback(String.init(describing:))
    |                                                     `- error: generic parameter 'Subject' could not be inferred
 18 |   }
 19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
  |                   `- note: in call to initializer
3 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
 43 |   /// ```
 44 |   public static var dump: Snapshotting {
 45 |     return SimplySnapshotting.lines.pullback { snap($0) }
    |            |- error: generic parameter 'Format' could not be inferred
    |            `- note: explicitly specify the generic arguments to fix this issue
 46 |   }
 47 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
 56 |     ]
 57 |
 58 |     var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
    |                        |- error: generic parameter 'Format' could not be inferred
    |                        `- note: explicitly specify the generic arguments to fix this issue
 59 |       try! String(
 60 |         decoding: JSONSerialization.data(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
[52/121] Compiling SwiftSyntax Assert.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
166 |     }
167 |   #else
168 |     open var snapshotDescription: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
169 |       return purgePointers(self.debugDescription)
170 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
 15 |   /// ```
 16 |   public static var description: Snapshotting {
 17 |     return SimplySnapshotting.lines.pullback(String.init(describing:))
    |            |- error: generic parameter 'Format' could not be inferred
    |            `- note: explicitly specify the generic arguments to fix this issue
 18 |   }
 19 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
 15 |   /// ```
 16 |   public static var description: Snapshotting {
 17 |     return SimplySnapshotting.lines.pullback(String.init(describing:))
    |                                                     `- error: generic parameter 'Subject' could not be inferred
 18 |   }
 19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
  |                   `- note: in call to initializer
3 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
 43 |   /// ```
 44 |   public static var dump: Snapshotting {
 45 |     return SimplySnapshotting.lines.pullback { snap($0) }
    |            |- error: generic parameter 'Format' could not be inferred
    |            `- note: explicitly specify the generic arguments to fix this issue
 46 |   }
 47 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
 56 |     ]
 57 |
 58 |     var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
    |                        |- error: generic parameter 'Format' could not be inferred
    |                        `- note: explicitly specify the generic arguments to fix this issue
 59 |       try! String(
 60 |         decoding: JSONSerialization.data(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
[53/121] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
166 |     }
167 |   #else
168 |     open var snapshotDescription: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
169 |       return purgePointers(self.debugDescription)
170 |     }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 |       .flatMap { [$0.patchMark] + $0.lines }
24 |       .joined(separator: "\n")
25 |     let attachment = XCTAttachment(
   |                      `- error: cannot find 'XCTAttachment' in scope
26 |       data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 |     return (failure, [attachment])
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:63: error: cannot find type 'XCTAttachment' in scope
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |                                                               `- error: cannot find type 'XCTAttachment' in scope
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:25:11: error: '@escaping' only applies to function types
23 |     toData: @escaping (_ value: Value) -> Data,
24 |     fromData: @escaping (_ data: Data) -> Value,
25 |     diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
   |           `- error: '@escaping' only applies to function types
26 |   ) {
27 |     self.toData = toData
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 |     fromData: { String(decoding: $0, as: UTF8.self) }
14 |   ) { old, new in
15 |     guard old != new else { return nil }
   |                                    `- error: 'nil' requires a contextual type
16 |     let hunks = chunk(
17 |       diff: SnapshotTesting.diff(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
 15 |   /// ```
 16 |   public static var description: Snapshotting {
 17 |     return SimplySnapshotting.lines.pullback(String.init(describing:))
    |            |- error: generic parameter 'Format' could not be inferred
    |            `- note: explicitly specify the generic arguments to fix this issue
 18 |   }
 19 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
 15 |   /// ```
 16 |   public static var description: Snapshotting {
 17 |     return SimplySnapshotting.lines.pullback(String.init(describing:))
    |                                                     `- error: generic parameter 'Subject' could not be inferred
 18 |   }
 19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
  |                   `- note: in call to initializer
3 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
 43 |   /// ```
 44 |   public static var dump: Snapshotting {
 45 |     return SimplySnapshotting.lines.pullback { snap($0) }
    |            |- error: generic parameter 'Format' could not be inferred
    |            `- note: explicitly specify the generic arguments to fix this issue
 46 |   }
 47 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
 56 |     ]
 57 |
 58 |     var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
    |                        |- error: generic parameter 'Format' could not be inferred
    |                        `- note: explicitly specify the generic arguments to fix this issue
 59 |       try! String(
 60 |         decoding: JSONSerialization.data(
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift:112:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
110 |
111 | /// A snapshot strategy where the type being snapshot is also a diffable type.
112 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
    |                                     `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
113 |
114 | extension Snapshotting where Value == Format {
[54/121] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 5 |
 6 |   @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:63:24: error: cannot find 'XCTestExpectation' in scope
 61 |
 62 |   do {
 63 |     let tookSnapshot = XCTestExpectation(description: "Took snapshot")
    |                        `- error: cannot find 'XCTestExpectation' in scope
 64 |     var optionalDiffable: String?
 65 |     snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:69:18: error: cannot find 'XCTWaiter' in scope
 67 |       tookSnapshot.fulfill()
 68 |     }
 69 |     let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
    |                  `- error: cannot find 'XCTWaiter' in scope
 70 |     switch result {
 71 |     case .completed:
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:141:11: error: cannot find 'XCTContext' in scope
139 |       #if !os(Linux) && !os(Windows)
140 |         if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
141 |           XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |           `- error: cannot find 'XCTContext' in scope
142 |             attachments.forEach {
143 |               activity.add($0)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:153:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
151 |       Snapshot does not match reference.
152 |
153 |       \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
    |                                         `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
154 |       """
155 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[55/121] Compiling SwiftSyntax Convenience.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 5 |
 6 |   @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:63:24: error: cannot find 'XCTestExpectation' in scope
 61 |
 62 |   do {
 63 |     let tookSnapshot = XCTestExpectation(description: "Took snapshot")
    |                        `- error: cannot find 'XCTestExpectation' in scope
 64 |     var optionalDiffable: String?
 65 |     snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:69:18: error: cannot find 'XCTWaiter' in scope
 67 |       tookSnapshot.fulfill()
 68 |     }
 69 |     let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
    |                  `- error: cannot find 'XCTWaiter' in scope
 70 |     switch result {
 71 |     case .completed:
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:141:11: error: cannot find 'XCTContext' in scope
139 |       #if !os(Linux) && !os(Windows)
140 |         if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
141 |           XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |           `- error: cannot find 'XCTContext' in scope
142 |             attachments.forEach {
143 |               activity.add($0)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:153:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
151 |       Snapshot does not match reference.
152 |
153 |       \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
    |                                         `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
154 |       """
155 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[56/121] Compiling SwiftSyntax CustomTraits.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 5 |
 6 |   @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:63:24: error: cannot find 'XCTestExpectation' in scope
 61 |
 62 |   do {
 63 |     let tookSnapshot = XCTestExpectation(description: "Took snapshot")
    |                        `- error: cannot find 'XCTestExpectation' in scope
 64 |     var optionalDiffable: String?
 65 |     snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:69:18: error: cannot find 'XCTWaiter' in scope
 67 |       tookSnapshot.fulfill()
 68 |     }
 69 |     let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
    |                  `- error: cannot find 'XCTWaiter' in scope
 70 |     switch result {
 71 |     case .completed:
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:141:11: error: cannot find 'XCTContext' in scope
139 |       #if !os(Linux) && !os(Windows)
140 |         if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
141 |           XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |           `- error: cannot find 'XCTContext' in scope
142 |             attachments.forEach {
143 |               activity.add($0)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:153:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
151 |       Snapshot does not match reference.
152 |
153 |       \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
    |                                         `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
154 |       """
155 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[57/121] Compiling SwiftSyntax Identifier.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: using '@_implementationOnly' without enabling library evolution for 'SnapshotTesting' may lead to instability during execution [#ImplementationOnlyDeprecated]
 5 |
 6 |   @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:63:24: error: cannot find 'XCTestExpectation' in scope
 61 |
 62 |   do {
 63 |     let tookSnapshot = XCTestExpectation(description: "Took snapshot")
    |                        `- error: cannot find 'XCTestExpectation' in scope
 64 |     var optionalDiffable: String?
 65 |     snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:69:18: error: cannot find 'XCTWaiter' in scope
 67 |       tookSnapshot.fulfill()
 68 |     }
 69 |     let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
    |                  `- error: cannot find 'XCTWaiter' in scope
 70 |     switch result {
 71 |     case .completed:
/host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 |   /// Compares two values. If the values do not match, returns a failure message and artifacts
13 |   /// describing the failure.
14 |   public var diff: (Value, Value) -> (String, [XCTAttachment])?
   |                                                `- error: cannot find type 'XCTAttachment' in scope
15 |
16 |   /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:141:11: error: cannot find 'XCTContext' in scope
139 |       #if !os(Linux) && !os(Windows)
140 |         if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
141 |           XCTContext.runActivity(named: "Attached Failure Diff") { activity in
    |           `- error: cannot find 'XCTContext' in scope
142 |             attachments.forEach {
143 |               activity.add($0)
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift:153:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
151 |       Snapshot does not match reference.
152 |
153 |       \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
    |                                         `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
154 |       """
155 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
BUILD FAILURE 6.3 wasm