Build Information
Failed to build StreamSwiftTestHelpers, reference 0.4.1 (b7a09e), with Swift 6.3 for Wasm on 21 Apr 2026 13:37:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GetStream/stream-chat-swift-test-helpers.git
Reference: 0.4.1
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/GetStream/stream-chat-swift-test-helpers
* tag 0.4.1 -> FETCH_HEAD
HEAD is now at b7a09e5 Remove Difference
Cloned https://github.com/GetStream/stream-chat-swift-test-helpers.git
Revision (git rev-parse @):
b7a09e53a6647df94c02a67770ec876faa707f9d
SUCCESS checkout https://github.com/GetStream/stream-chat-swift-test-helpers.git at 0.4.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/GetStream/stream-chat-swift-test-helpers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/pointfreeco/swift-snapshot-testing
[1/16065] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.66s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.11.1 (3.78s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.11.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/33] Emitting module SnapshotTesting
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:335:28: error: cannot find 'DispatchQueue' in scope
333 | // MARK: - Private
334 |
335 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
| `- error: cannot find 'DispatchQueue' in scope
336 | private var counterMap: [URL: Int] = [:]
337 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:347:40: error: cannot find 'DispatchQueue' in scope
345 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
346 | private static var registered = false
347 | private static var registerQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.testObserver")
| `- error: cannot find 'DispatchQueue' in scope
348 |
349 | static func registerIfNeeded() {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:13:48: error: cannot find type 'XCTAttachment' in scope
11 |
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts describing the failure.
13 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
14 |
15 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:6:39: error: cannot find type 'URLRequest' in scope
4 | #endif
5 |
6 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
7 | /// A snapshot strategy for comparing requests based on raw equality.
8 | public static let raw = Snapshotting.raw(pretty: false)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:44:74: error: cannot find type 'URLRequest' in scope
42 |
43 | /// A snapshot strategy for comparing requests based on a cURL representation.
44 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
45 |
46 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:44:28: error: generic parameter 'Format' could not be inferred
42 |
43 | /// A snapshot strategy for comparing requests based on a cURL representation.
44 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
45 |
46 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
[5/37] Compiling SnapshotTesting NSImage.swift
[6/37] Compiling SnapshotTesting NSView.swift
[7/37] Compiling SnapshotTesting NSViewController.swift
[8/37] Compiling SnapshotTesting SceneKit.swift
[9/37] Compiling SnapshotTesting Diffing.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:13:48: error: cannot find type 'XCTAttachment' in scope
11 |
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts describing the failure.
13 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
14 |
15 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:18:29: error: cannot find 'XCTestExpectation' in scope
16 | asyncSnapshot: { value in
17 | Async { callback in
18 | let expectation = XCTestExpectation(description: "Wait")
| `- error: cannot find 'XCTestExpectation' in scope
19 | DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
20 | expectation.fulfill()
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:19:11: error: cannot find 'DispatchQueue' in scope
17 | Async { callback in
18 | let expectation = XCTestExpectation(description: "Wait")
19 | DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
| `- error: cannot find 'DispatchQueue' in scope
20 | expectation.fulfill()
21 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:22:15: error: cannot find 'XCTWaiter' in scope
20 | expectation.fulfill()
21 | }
22 | _ = XCTWaiter.wait(for: [expectation], timeout: duration + 1)
| `- error: cannot find 'XCTWaiter' in scope
23 | strategy.snapshot(value).run(callback)
24 | }
[10/37] Compiling SnapshotTesting Wait.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:13:48: error: cannot find type 'XCTAttachment' in scope
11 |
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts describing the failure.
13 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
14 |
15 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:18:29: error: cannot find 'XCTestExpectation' in scope
16 | asyncSnapshot: { value in
17 | Async { callback in
18 | let expectation = XCTestExpectation(description: "Wait")
| `- error: cannot find 'XCTestExpectation' in scope
19 | DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
20 | expectation.fulfill()
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:19:11: error: cannot find 'DispatchQueue' in scope
17 | Async { callback in
18 | let expectation = XCTestExpectation(description: "Wait")
19 | DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
| `- error: cannot find 'DispatchQueue' in scope
20 | expectation.fulfill()
21 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:22:15: error: cannot find 'XCTWaiter' in scope
20 | expectation.fulfill()
21 | }
22 | _ = XCTWaiter.wait(for: [expectation], timeout: duration + 1)
| `- error: cannot find 'XCTWaiter' in scope
23 | strategy.snapshot(value).run(callback)
24 | }
[11/37] Compiling SnapshotTesting SnapshotTestCase.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:13:48: error: cannot find type 'XCTAttachment' in scope
11 |
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts describing the failure.
13 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
14 |
15 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:18:29: error: cannot find 'XCTestExpectation' in scope
16 | asyncSnapshot: { value in
17 | Async { callback in
18 | let expectation = XCTestExpectation(description: "Wait")
| `- error: cannot find 'XCTestExpectation' in scope
19 | DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
20 | expectation.fulfill()
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:19:11: error: cannot find 'DispatchQueue' in scope
17 | Async { callback in
18 | let expectation = XCTestExpectation(description: "Wait")
19 | DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
| `- error: cannot find 'DispatchQueue' in scope
20 | expectation.fulfill()
21 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:22:15: error: cannot find 'XCTWaiter' in scope
20 | expectation.fulfill()
21 | }
22 | _ = XCTWaiter.wait(for: [expectation], timeout: duration + 1)
| `- error: cannot find 'XCTWaiter' in scope
23 | strategy.snapshot(value).run(callback)
24 | }
[12/37] Compiling SnapshotTesting Snapshotting.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:13:48: error: cannot find type 'XCTAttachment' in scope
11 |
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts describing the failure.
13 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
14 |
15 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:18:29: error: cannot find 'XCTestExpectation' in scope
16 | asyncSnapshot: { value in
17 | Async { callback in
18 | let expectation = XCTestExpectation(description: "Wait")
| `- error: cannot find 'XCTestExpectation' in scope
19 | DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
20 | expectation.fulfill()
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:19:11: error: cannot find 'DispatchQueue' in scope
17 | Async { callback in
18 | let expectation = XCTestExpectation(description: "Wait")
19 | DispatchQueue.main.asyncAfter(deadline: .now() + duration) {
| `- error: cannot find 'DispatchQueue' in scope
20 | expectation.fulfill()
21 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Extensions/Wait.swift:22:15: error: cannot find 'XCTWaiter' in scope
20 | expectation.fulfill()
21 | }
22 | _ = XCTWaiter.wait(for: [expectation], timeout: duration + 1)
| `- error: cannot find 'XCTWaiter' in scope
23 | strategy.snapshot(value).run(callback)
24 | }
[13/37] Compiling SnapshotTesting SpriteKit.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
[14/37] Compiling SnapshotTesting String.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
[15/37] Compiling SnapshotTesting SwiftUIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
[16/37] Compiling SnapshotTesting UIBezierPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
[17/37] Compiling SnapshotTesting UIImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:6:39: error: cannot find type 'URLRequest' in scope
4 | #endif
5 |
6 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
7 | /// A snapshot strategy for comparing requests based on raw equality.
8 | public static let raw = Snapshotting.raw(pretty: false)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:44:74: error: cannot find type 'URLRequest' in scope
42 |
43 | /// A snapshot strategy for comparing requests based on a cURL representation.
44 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
45 |
46 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:44:28: error: generic parameter 'Format' could not be inferred
42 |
43 | /// A snapshot strategy for comparing requests based on a cURL representation.
44 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
45 |
46 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:14:58: error: cannot find type 'URLRequest' in scope
12 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
13 | public static func raw(pretty: Bool) -> Snapshotting {
14 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
15 | let method = "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
16 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:14:12: error: generic parameter 'Format' could not be inferred
12 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
13 | public static func raw(pretty: Bool) -> Snapshotting {
14 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | let method = "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
16 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
[18/37] Compiling SnapshotTesting UIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:6:39: error: cannot find type 'URLRequest' in scope
4 | #endif
5 |
6 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
7 | /// A snapshot strategy for comparing requests based on raw equality.
8 | public static let raw = Snapshotting.raw(pretty: false)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:44:74: error: cannot find type 'URLRequest' in scope
42 |
43 | /// A snapshot strategy for comparing requests based on a cURL representation.
44 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
45 |
46 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:44:28: error: generic parameter 'Format' could not be inferred
42 |
43 | /// A snapshot strategy for comparing requests based on a cURL representation.
44 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
45 |
46 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:14:58: error: cannot find type 'URLRequest' in scope
12 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
13 | public static func raw(pretty: Bool) -> Snapshotting {
14 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
15 | let method = "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
16 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:14:12: error: generic parameter 'Format' could not be inferred
12 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
13 | public static func raw(pretty: Bool) -> Snapshotting {
14 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | let method = "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
16 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
[19/37] Compiling SnapshotTesting UIViewController.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:6:39: error: cannot find type 'URLRequest' in scope
4 | #endif
5 |
6 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
7 | /// A snapshot strategy for comparing requests based on raw equality.
8 | public static let raw = Snapshotting.raw(pretty: false)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:44:74: error: cannot find type 'URLRequest' in scope
42 |
43 | /// A snapshot strategy for comparing requests based on a cURL representation.
44 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
45 |
46 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:44:28: error: generic parameter 'Format' could not be inferred
42 |
43 | /// A snapshot strategy for comparing requests based on a cURL representation.
44 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
45 |
46 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:14:58: error: cannot find type 'URLRequest' in scope
12 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
13 | public static func raw(pretty: Bool) -> Snapshotting {
14 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
15 | let method = "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
16 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:14:12: error: generic parameter 'Format' could not be inferred
12 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
13 | public static func raw(pretty: Bool) -> Snapshotting {
14 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | let method = "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
16 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
[20/37] Compiling SnapshotTesting URLRequest.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:6:39: error: cannot find type 'URLRequest' in scope
4 | #endif
5 |
6 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
7 | /// A snapshot strategy for comparing requests based on raw equality.
8 | public static let raw = Snapshotting.raw(pretty: false)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:44:74: error: cannot find type 'URLRequest' in scope
42 |
43 | /// A snapshot strategy for comparing requests based on a cURL representation.
44 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
45 |
46 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:44:28: error: generic parameter 'Format' could not be inferred
42 |
43 | /// A snapshot strategy for comparing requests based on a cURL representation.
44 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
45 |
46 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:14:58: error: cannot find type 'URLRequest' in scope
12 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
13 | public static func raw(pretty: Bool) -> Snapshotting {
14 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
15 | let method = "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
16 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:14:12: error: generic parameter 'Format' could not be inferred
12 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
13 | public static func raw(pretty: Bool) -> Snapshotting {
14 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | let method = "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
16 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
[21/37] Compiling SnapshotTesting Any.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:6:12: error: generic parameter 'Format' could not be inferred
4 | /// A snapshot strategy for comparing any structure based on a sanitized text dump.
5 | public static var dump: Snapshotting {
6 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
7 | }
8 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:19:24: error: generic parameter 'Format' could not be inferred
17 | ]
18 |
19 | 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
20 | try! String(decoding: JSONSerialization.data(withJSONObject: data,
21 | options: options), as: UTF8.self)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
[22/37] Compiling SnapshotTesting CALayer.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:6:12: error: generic parameter 'Format' could not be inferred
4 | /// A snapshot strategy for comparing any structure based on a sanitized text dump.
5 | public static var dump: Snapshotting {
6 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
7 | }
8 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:19:24: error: generic parameter 'Format' could not be inferred
17 | ]
18 |
19 | 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
20 | try! String(decoding: JSONSerialization.data(withJSONObject: data,
21 | options: options), as: UTF8.self)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
[23/37] Compiling SnapshotTesting CGPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:6:12: error: generic parameter 'Format' could not be inferred
4 | /// A snapshot strategy for comparing any structure based on a sanitized text dump.
5 | public static var dump: Snapshotting {
6 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
7 | }
8 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:19:24: error: generic parameter 'Format' could not be inferred
17 | ]
18 |
19 | 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
20 | try! String(decoding: JSONSerialization.data(withJSONObject: data,
21 | options: options), as: UTF8.self)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
[24/37] Compiling SnapshotTesting CaseIterable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:6:12: error: generic parameter 'Format' could not be inferred
4 | /// A snapshot strategy for comparing any structure based on a sanitized text dump.
5 | public static var dump: Snapshotting {
6 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
7 | }
8 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:19:24: error: generic parameter 'Format' could not be inferred
17 | ]
18 |
19 | 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
20 | try! String(decoding: JSONSerialization.data(withJSONObject: data,
21 | options: options), as: UTF8.self)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
[25/37] Compiling SnapshotTesting Codable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Codable.swift:16:24: error: generic parameter 'Format' could not be inferred
14 | /// - Parameter encoder: A JSON encoder.
15 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
16 | 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
17 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
18 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Codable.swift:34:24: error: generic parameter 'Format' could not be inferred
32 | /// - Parameter encoder: A property list encoder.
33 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
34 | 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
35 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
36 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:9:40: error: 'nil' requires a contextual type
7 | pathExtension: nil,
8 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
9 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
10 | let message = old.count == new.count
11 | ? "Expected data to match"
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Description.swift:5:12: error: generic parameter 'Format' could not be inferred
3 | /// initializer.
4 | public static var description: Snapshotting {
5 | 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
6 | }
7 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Description.swift:5:53: error: generic parameter 'Subject' could not be inferred
3 | /// initializer.
4 | public static var description: Snapshotting {
5 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
6 | }
7 | }
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 |
[26/37] Compiling SnapshotTesting Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Codable.swift:16:24: error: generic parameter 'Format' could not be inferred
14 | /// - Parameter encoder: A JSON encoder.
15 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
16 | 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
17 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
18 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Codable.swift:34:24: error: generic parameter 'Format' could not be inferred
32 | /// - Parameter encoder: A property list encoder.
33 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
34 | 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
35 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
36 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:9:40: error: 'nil' requires a contextual type
7 | pathExtension: nil,
8 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
9 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
10 | let message = old.count == new.count
11 | ? "Expected data to match"
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Description.swift:5:12: error: generic parameter 'Format' could not be inferred
3 | /// initializer.
4 | public static var description: Snapshotting {
5 | 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
6 | }
7 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Description.swift:5:53: error: generic parameter 'Subject' could not be inferred
3 | /// initializer.
4 | public static var description: Snapshotting {
5 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
6 | }
7 | }
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 |
[27/37] Compiling SnapshotTesting Description.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Codable.swift:16:24: error: generic parameter 'Format' could not be inferred
14 | /// - Parameter encoder: A JSON encoder.
15 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
16 | 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
17 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
18 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Codable.swift:34:24: error: generic parameter 'Format' could not be inferred
32 | /// - Parameter encoder: A property list encoder.
33 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
34 | 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
35 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
36 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:9:40: error: 'nil' requires a contextual type
7 | pathExtension: nil,
8 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
9 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
10 | let message = old.count == new.count
11 | ? "Expected data to match"
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Description.swift:5:12: error: generic parameter 'Format' could not be inferred
3 | /// initializer.
4 | public static var description: Snapshotting {
5 | 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
6 | }
7 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Description.swift:5:53: error: generic parameter 'Subject' could not be inferred
3 | /// initializer.
4 | public static var description: Snapshotting {
5 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
6 | }
7 | }
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 |
[28/37] Compiling SnapshotTesting NSBezierPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:23:22: error: cannot find 'XCTAttachment' in scope
21 | .flatMap { [$0.patchMark] + $0.lines }
22 | .joined(separator: "\n")
23 | let attachment = XCTAttachment(data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
| `- error: cannot find 'XCTAttachment' in scope
24 | return (failure, [attachment])
25 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:63: error: cannot find type 'XCTAttachment' in scope
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:28:11: error: '@escaping' only applies to function types
26 | toData: @escaping (_ value: Value) -> Data,
27 | fromData: @escaping (_ data: Data) -> Value,
28 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: '@escaping' only applies to function types
29 | ) {
30 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/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(diff: SnapshotTesting.diff(
17 | old.split(separator: "\n", omittingEmptySubsequences: false).map(String.init),
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Codable.swift:16:24: error: generic parameter 'Format' could not be inferred
14 | /// - Parameter encoder: A JSON encoder.
15 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
16 | 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
17 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
18 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Codable.swift:34:24: error: generic parameter 'Format' could not be inferred
32 | /// - Parameter encoder: A property list encoder.
33 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
34 | 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
35 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
36 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:9:40: error: 'nil' requires a contextual type
7 | pathExtension: nil,
8 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
9 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
10 | let message = old.count == new.count
11 | ? "Expected data to match"
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Description.swift:5:12: error: generic parameter 'Format' could not be inferred
3 | /// initializer.
4 | public static var description: Snapshotting {
5 | 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
6 | }
7 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:96:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
94 |
95 | /// A snapshot strategy where the type being snapshot is also a diffable type.
96 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
97 |
98 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Description.swift:5:53: error: generic parameter 'Subject' could not be inferred
3 | /// initializer.
4 | public static var description: Snapshotting {
5 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
6 | }
7 | }
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 |
[29/37] Compiling SnapshotTesting String+SpecialCharacters.swift
[30/37] Compiling SnapshotTesting View.swift
[31/37] Compiling SnapshotTesting XCTAttachment.swift
[32/37] Compiling SnapshotTesting Diff.swift
[33/37] Compiling SnapshotTesting AssertInlineSnapshot.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:76:26: error: cannot find 'XCTestExpectation' in scope
74 |
75 | do {
76 | let tookSnapshot = XCTestExpectation(description: "Took snapshot")
| `- error: cannot find 'XCTestExpectation' in scope
77 | var optionalDiffable: String?
78 | snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:82:20: error: cannot find 'XCTWaiter' in scope
80 | tookSnapshot.fulfill()
81 | }
82 | let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
| `- error: cannot find 'XCTWaiter' in scope
83 | switch result {
84 | case .completed:
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:13:48: error: cannot find type 'XCTAttachment' in scope
11 |
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts describing the failure.
13 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
14 |
15 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:153:11: error: cannot find 'XCTContext' in scope
151 | #if !os(Linux) && !os(Windows)
152 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
153 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
154 | attachments.forEach {
155 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:165:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
163 | Snapshot does not match reference.
164 |
165 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
166 | """
167 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:335:28: error: cannot find 'DispatchQueue' in scope
333 | // MARK: - Private
334 |
335 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
| `- error: cannot find 'DispatchQueue' in scope
336 | private var counterMap: [URL: Int] = [:]
337 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:347:40: error: cannot find 'DispatchQueue' in scope
345 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
346 | private static var registered = false
347 | private static var registerQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.testObserver")
| `- error: cannot find 'DispatchQueue' in scope
348 |
349 | static func registerIfNeeded() {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:208:26: error: cannot find 'XCTestExpectation' in scope
206 | try fileManager.createDirectory(at: snapshotDirectoryUrl, withIntermediateDirectories: true)
207 |
208 | let tookSnapshot = XCTestExpectation(description: "Took snapshot")
| `- error: cannot find 'XCTestExpectation' in scope
209 | var optionalDiffable: Format?
210 | snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:214:20: error: cannot find 'XCTWaiter' in scope
212 | tookSnapshot.fulfill()
213 | }
214 | let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
| `- error: cannot find 'XCTWaiter' in scope
215 | switch result {
216 | case .completed:
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:241:11: error: cannot find 'XCTContext' in scope
239 | #if !os(Linux) && !os(Windows)
240 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
241 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
242 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
243 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:242:30: error: cannot find 'XCTAttachment' in scope
240 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
241 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
242 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
243 | activity.add(attachment)
244 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:292:11: error: cannot find 'XCTContext' in scope
290 | #if !os(Linux) && !os(Windows)
291 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
292 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
293 | attachments.forEach {
294 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:326:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
324 | \(diffMessage)
325 |
326 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
327 | """
328 | } catch {
[34/37] Compiling SnapshotTesting AssertSnapshot.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:76:26: error: cannot find 'XCTestExpectation' in scope
74 |
75 | do {
76 | let tookSnapshot = XCTestExpectation(description: "Took snapshot")
| `- error: cannot find 'XCTestExpectation' in scope
77 | var optionalDiffable: String?
78 | snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:82:20: error: cannot find 'XCTWaiter' in scope
80 | tookSnapshot.fulfill()
81 | }
82 | let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
| `- error: cannot find 'XCTWaiter' in scope
83 | switch result {
84 | case .completed:
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:13:48: error: cannot find type 'XCTAttachment' in scope
11 |
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts describing the failure.
13 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
14 |
15 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:153:11: error: cannot find 'XCTContext' in scope
151 | #if !os(Linux) && !os(Windows)
152 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
153 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
154 | attachments.forEach {
155 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:165:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
163 | Snapshot does not match reference.
164 |
165 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
166 | """
167 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:335:28: error: cannot find 'DispatchQueue' in scope
333 | // MARK: - Private
334 |
335 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
| `- error: cannot find 'DispatchQueue' in scope
336 | private var counterMap: [URL: Int] = [:]
337 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:347:40: error: cannot find 'DispatchQueue' in scope
345 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
346 | private static var registered = false
347 | private static var registerQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.testObserver")
| `- error: cannot find 'DispatchQueue' in scope
348 |
349 | static func registerIfNeeded() {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:208:26: error: cannot find 'XCTestExpectation' in scope
206 | try fileManager.createDirectory(at: snapshotDirectoryUrl, withIntermediateDirectories: true)
207 |
208 | let tookSnapshot = XCTestExpectation(description: "Took snapshot")
| `- error: cannot find 'XCTestExpectation' in scope
209 | var optionalDiffable: Format?
210 | snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:214:20: error: cannot find 'XCTWaiter' in scope
212 | tookSnapshot.fulfill()
213 | }
214 | let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
| `- error: cannot find 'XCTWaiter' in scope
215 | switch result {
216 | case .completed:
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:241:11: error: cannot find 'XCTContext' in scope
239 | #if !os(Linux) && !os(Windows)
240 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
241 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
242 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
243 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:242:30: error: cannot find 'XCTAttachment' in scope
240 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
241 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
242 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
243 | activity.add(attachment)
244 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:292:11: error: cannot find 'XCTContext' in scope
290 | #if !os(Linux) && !os(Windows)
291 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
292 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
293 | attachments.forEach {
294 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:326:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
324 | \(diffMessage)
325 |
326 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
327 | """
328 | } catch {
[35/37] Compiling SnapshotTesting Async.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:76:26: error: cannot find 'XCTestExpectation' in scope
74 |
75 | do {
76 | let tookSnapshot = XCTestExpectation(description: "Took snapshot")
| `- error: cannot find 'XCTestExpectation' in scope
77 | var optionalDiffable: String?
78 | snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:82:20: error: cannot find 'XCTWaiter' in scope
80 | tookSnapshot.fulfill()
81 | }
82 | let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
| `- error: cannot find 'XCTWaiter' in scope
83 | switch result {
84 | case .completed:
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:13:48: error: cannot find type 'XCTAttachment' in scope
11 |
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts describing the failure.
13 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
14 |
15 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:153:11: error: cannot find 'XCTContext' in scope
151 | #if !os(Linux) && !os(Windows)
152 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
153 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
154 | attachments.forEach {
155 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:165:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
163 | Snapshot does not match reference.
164 |
165 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
166 | """
167 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:335:28: error: cannot find 'DispatchQueue' in scope
333 | // MARK: - Private
334 |
335 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
| `- error: cannot find 'DispatchQueue' in scope
336 | private var counterMap: [URL: Int] = [:]
337 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:347:40: error: cannot find 'DispatchQueue' in scope
345 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
346 | private static var registered = false
347 | private static var registerQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.testObserver")
| `- error: cannot find 'DispatchQueue' in scope
348 |
349 | static func registerIfNeeded() {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:208:26: error: cannot find 'XCTestExpectation' in scope
206 | try fileManager.createDirectory(at: snapshotDirectoryUrl, withIntermediateDirectories: true)
207 |
208 | let tookSnapshot = XCTestExpectation(description: "Took snapshot")
| `- error: cannot find 'XCTestExpectation' in scope
209 | var optionalDiffable: Format?
210 | snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:214:20: error: cannot find 'XCTWaiter' in scope
212 | tookSnapshot.fulfill()
213 | }
214 | let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
| `- error: cannot find 'XCTWaiter' in scope
215 | switch result {
216 | case .completed:
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:241:11: error: cannot find 'XCTContext' in scope
239 | #if !os(Linux) && !os(Windows)
240 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
241 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
242 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
243 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:242:30: error: cannot find 'XCTAttachment' in scope
240 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
241 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
242 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
243 | activity.add(attachment)
244 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:292:11: error: cannot find 'XCTContext' in scope
290 | #if !os(Linux) && !os(Windows)
291 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
292 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
293 | attachments.forEach {
294 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:326:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
324 | \(diffMessage)
325 |
326 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
327 | """
328 | } catch {
[36/37] Compiling SnapshotTesting Internal.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:76:26: error: cannot find 'XCTestExpectation' in scope
74 |
75 | do {
76 | let tookSnapshot = XCTestExpectation(description: "Took snapshot")
| `- error: cannot find 'XCTestExpectation' in scope
77 | var optionalDiffable: String?
78 | snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:82:20: error: cannot find 'XCTWaiter' in scope
80 | tookSnapshot.fulfill()
81 | }
82 | let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
| `- error: cannot find 'XCTWaiter' in scope
83 | switch result {
84 | case .completed:
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:13:48: error: cannot find type 'XCTAttachment' in scope
11 |
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts describing the failure.
13 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
14 |
15 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:153:11: error: cannot find 'XCTContext' in scope
151 | #if !os(Linux) && !os(Windows)
152 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
153 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
154 | attachments.forEach {
155 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:165:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
163 | Snapshot does not match reference.
164 |
165 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
166 | """
167 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:335:28: error: cannot find 'DispatchQueue' in scope
333 | // MARK: - Private
334 |
335 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
| `- error: cannot find 'DispatchQueue' in scope
336 | private var counterMap: [URL: Int] = [:]
337 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:347:40: error: cannot find 'DispatchQueue' in scope
345 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
346 | private static var registered = false
347 | private static var registerQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.testObserver")
| `- error: cannot find 'DispatchQueue' in scope
348 |
349 | static func registerIfNeeded() {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:208:26: error: cannot find 'XCTestExpectation' in scope
206 | try fileManager.createDirectory(at: snapshotDirectoryUrl, withIntermediateDirectories: true)
207 |
208 | let tookSnapshot = XCTestExpectation(description: "Took snapshot")
| `- error: cannot find 'XCTestExpectation' in scope
209 | var optionalDiffable: Format?
210 | snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:214:20: error: cannot find 'XCTWaiter' in scope
212 | tookSnapshot.fulfill()
213 | }
214 | let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
| `- error: cannot find 'XCTWaiter' in scope
215 | switch result {
216 | case .completed:
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:241:11: error: cannot find 'XCTContext' in scope
239 | #if !os(Linux) && !os(Windows)
240 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
241 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
242 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
243 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:242:30: error: cannot find 'XCTAttachment' in scope
240 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
241 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
242 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
243 | activity.add(attachment)
244 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:292:11: error: cannot find 'XCTContext' in scope
290 | #if !os(Linux) && !os(Windows)
291 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
292 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
293 | attachments.forEach {
294 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:326:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
324 | \(diffMessage)
325 |
326 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
327 | """
328 | } catch {
[37/37] Compiling SnapshotTesting PlistEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:76:26: error: cannot find 'XCTestExpectation' in scope
74 |
75 | do {
76 | let tookSnapshot = XCTestExpectation(description: "Took snapshot")
| `- error: cannot find 'XCTestExpectation' in scope
77 | var optionalDiffable: String?
78 | snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:82:20: error: cannot find 'XCTWaiter' in scope
80 | tookSnapshot.fulfill()
81 | }
82 | let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
| `- error: cannot find 'XCTWaiter' in scope
83 | switch result {
84 | case .completed:
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:13:48: error: cannot find type 'XCTAttachment' in scope
11 |
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts describing the failure.
13 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
14 |
15 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:153:11: error: cannot find 'XCTContext' in scope
151 | #if !os(Linux) && !os(Windows)
152 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
153 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
154 | attachments.forEach {
155 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertInlineSnapshot.swift:165:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
163 | Snapshot does not match reference.
164 |
165 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
166 | """
167 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:335:28: error: cannot find 'DispatchQueue' in scope
333 | // MARK: - Private
334 |
335 | private let counterQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.counter")
| `- error: cannot find 'DispatchQueue' in scope
336 | private var counterMap: [URL: Int] = [:]
337 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:347:40: error: cannot find 'DispatchQueue' in scope
345 | private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
346 | private static var registered = false
347 | private static var registerQueue = DispatchQueue(label: "co.pointfree.SnapshotTesting.testObserver")
| `- error: cannot find 'DispatchQueue' in scope
348 |
349 | static func registerIfNeeded() {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:208:26: error: cannot find 'XCTestExpectation' in scope
206 | try fileManager.createDirectory(at: snapshotDirectoryUrl, withIntermediateDirectories: true)
207 |
208 | let tookSnapshot = XCTestExpectation(description: "Took snapshot")
| `- error: cannot find 'XCTestExpectation' in scope
209 | var optionalDiffable: Format?
210 | snapshotting.snapshot(try value()).run { b in
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:214:20: error: cannot find 'XCTWaiter' in scope
212 | tookSnapshot.fulfill()
213 | }
214 | let result = XCTWaiter.wait(for: [tookSnapshot], timeout: timeout)
| `- error: cannot find 'XCTWaiter' in scope
215 | switch result {
216 | case .completed:
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:241:11: error: cannot find 'XCTContext' in scope
239 | #if !os(Linux) && !os(Windows)
240 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
241 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
242 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
243 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:242:30: error: cannot find 'XCTAttachment' in scope
240 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
241 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
242 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
243 | activity.add(attachment)
244 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:292:11: error: cannot find 'XCTContext' in scope
290 | #if !os(Linux) && !os(Windows)
291 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
292 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
293 | attachments.forEach {
294 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:326:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
324 | \(diffMessage)
325 |
326 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
327 | """
328 | } catch {
BUILD FAILURE 6.3 wasm