Build Information
Failed to build swift-web, reference main (f17cce
), with Swift 6.1 for Wasm on 29 May 2025 12:37:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:115:11: error: cannot find 'DispatchQueue' in scope
113 | #if !os(Linux) && !os(Windows)
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
117 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:116:13: error: cannot find 'XCTContext' in scope
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
117 | attachments.forEach {
118 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:129:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
127 | Snapshot does not match reference.
128 |
129 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
130 | """
131 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:115:11: error: cannot find 'DispatchQueue' in scope
113 | #if !os(Linux) && !os(Windows)
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
117 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:116:13: error: cannot find 'XCTContext' in scope
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
117 | attachments.forEach {
118 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:129:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
127 | Snapshot does not match reference.
128 |
129 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
130 | """
131 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:115:11: error: cannot find 'DispatchQueue' in scope
113 | #if !os(Linux) && !os(Windows)
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
117 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:116:13: error: cannot find 'XCTContext' in scope
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
117 | attachments.forEach {
118 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:129:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
127 | Snapshot does not match reference.
128 |
129 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
130 | """
131 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:115:11: error: cannot find 'DispatchQueue' in scope
113 | #if !os(Linux) && !os(Windows)
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
117 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:116:13: error: cannot find 'XCTContext' in scope
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
117 | attachments.forEach {
118 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:129:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
127 | Snapshot does not match reference.
128 |
129 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
130 | """
131 |
[132/536] Compiling ConcurrencyExtras LockIsolated.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[133/536] Compiling DequeModule Deque._Storage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[136/536] Compiling DequeModule Deque+CustomReflectable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[137/536] Compiling DequeModule Deque+Descriptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[138/536] Compiling DequeModule Deque+Codable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[139/536] Compiling DequeModule Deque+Collection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[140/536] Compiling DequeModule Deque+Equatable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[141/536] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[143/536] Compiling chacha20_poly1305_x86_64-apple.S
[144/536] Compiling chacha20_poly1305_x86_64-linux.S
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[149/536] Compiling DequeModule _DequeBuffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[150/536] Compiling DequeModule _DequeBufferHeader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[151/536] Compiling DequeModule Deque._UnsafeHandle.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[151/536] Compiling chacha20_poly1305_armv8-win.S
[152/536] Compiling chacha20_poly1305_armv8-linux.S
[154/536] Compiling SnapshotTesting Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[155/536] Compiling SnapshotTesting Encodable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[156/536] Compiling SnapshotTesting NSBezierPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[157/536] Compiling SnapshotTesting NSImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[158/536] Compiling SnapshotTesting String.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
[159/536] Compiling SnapshotTesting SwiftUIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
[160/536] Compiling SnapshotTesting UIBezierPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
[161/536] Compiling SnapshotTesting UIImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
[163/538] Compiling chacha-x86_64-linux.S
[164/538] Compiling chacha20_poly1305_armv8-apple.S
[166/538] Compiling ConcurrencyExtras Task.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[167/538] Compiling ConcurrencyExtras Result.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[168/538] Compiling IssueReporting WithExpectedIssue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[169/538] Compiling IssueReporting WithIssueContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[170/540] Emitting module SnapshotTesting
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:368:11: error: cannot find type 'DispatchQueue' in scope
366 | }
367 |
368 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
369 | private static let key = DispatchSpecificKey<UInt8>()
370 | private static let value: UInt8 = 0
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:7:39: error: cannot find type 'URLRequest' in scope
5 | #endif
6 |
7 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
8 | /// A snapshot strategy for comparing requests based on raw equality.
9 | ///
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:74: error: cannot find type 'URLRequest' in scope
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | 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
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:368:11: error: cannot find type 'DispatchQueue' in scope
366 | }
367 |
368 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
369 | private static let key = DispatchSpecificKey<UInt8>()
370 | private static let value: UInt8 = 0
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:215:21: error: cannot find 'DispatchQueue' in scope
213 | identifier = sanitizePathComponent(name)
214 | } else {
215 | let counter = DispatchQueue.mainSync { () -> Int in
| `- error: cannot find 'DispatchQueue' in scope
216 | let key = snapshotDirectoryUrl.appendingPathComponent(testName)
217 | counterMap[key, default: 0] += 1
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:237:11: error: cannot find 'DispatchQueue' in scope
235 | #if !os(Linux) && !os(Windows)
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:238:13: error: cannot find 'XCTContext' in scope
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
240 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:239:32: error: cannot find 'XCTAttachment' in scope
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
240 | activity.add(attachment)
241 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:293:11: error: cannot find 'DispatchQueue' in scope
291 | #if !os(Linux) && !os(Windows)
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
295 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:294:13: error: cannot find 'XCTContext' in scope
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
295 | attachments.forEach {
296 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:330:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
328 | \(diffMessage)
329 |
330 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
331 | """
332 | } catch {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:353:5: error: cannot find 'DispatchQueue' in scope
351 |
352 | static func registerIfNeeded() {
353 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
354 | if !registered {
355 | registered = true
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:362:5: error: cannot find 'DispatchQueue' in scope
360 |
361 | func testCaseDidFinish(_ testCase: XCTestCase) {
362 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
363 | counterMap = [:]
364 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:369:28: error: cannot find 'DispatchSpecificKey' in scope
367 |
368 | extension DispatchQueue {
369 | private static let key = DispatchSpecificKey<UInt8>()
| `- error: cannot find 'DispatchSpecificKey' in scope
370 | private static let value: UInt8 = 0
371 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:368:11: error: cannot find type 'DispatchQueue' in scope
366 | }
367 |
368 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
369 | private static let key = DispatchSpecificKey<UInt8>()
370 | private static let value: UInt8 = 0
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:215:21: error: cannot find 'DispatchQueue' in scope
213 | identifier = sanitizePathComponent(name)
214 | } else {
215 | let counter = DispatchQueue.mainSync { () -> Int in
| `- error: cannot find 'DispatchQueue' in scope
216 | let key = snapshotDirectoryUrl.appendingPathComponent(testName)
217 | counterMap[key, default: 0] += 1
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:237:11: error: cannot find 'DispatchQueue' in scope
235 | #if !os(Linux) && !os(Windows)
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:238:13: error: cannot find 'XCTContext' in scope
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
240 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:239:32: error: cannot find 'XCTAttachment' in scope
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
240 | activity.add(attachment)
241 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:293:11: error: cannot find 'DispatchQueue' in scope
291 | #if !os(Linux) && !os(Windows)
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
295 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:294:13: error: cannot find 'XCTContext' in scope
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
295 | attachments.forEach {
296 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:330:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
328 | \(diffMessage)
329 |
330 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
331 | """
332 | } catch {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:353:5: error: cannot find 'DispatchQueue' in scope
351 |
352 | static func registerIfNeeded() {
353 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
354 | if !registered {
355 | registered = true
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:362:5: error: cannot find 'DispatchQueue' in scope
360 |
361 | func testCaseDidFinish(_ testCase: XCTestCase) {
362 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
363 | counterMap = [:]
364 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:369:28: error: cannot find 'DispatchSpecificKey' in scope
367 |
368 | extension DispatchQueue {
369 | private static let key = DispatchSpecificKey<UInt8>()
| `- error: cannot find 'DispatchSpecificKey' in scope
370 | private static let value: UInt8 = 0
371 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:368:11: error: cannot find type 'DispatchQueue' in scope
366 | }
367 |
368 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
369 | private static let key = DispatchSpecificKey<UInt8>()
370 | private static let value: UInt8 = 0
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:215:21: error: cannot find 'DispatchQueue' in scope
213 | identifier = sanitizePathComponent(name)
214 | } else {
215 | let counter = DispatchQueue.mainSync { () -> Int in
| `- error: cannot find 'DispatchQueue' in scope
216 | let key = snapshotDirectoryUrl.appendingPathComponent(testName)
217 | counterMap[key, default: 0] += 1
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:237:11: error: cannot find 'DispatchQueue' in scope
235 | #if !os(Linux) && !os(Windows)
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:238:13: error: cannot find 'XCTContext' in scope
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
240 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:239:32: error: cannot find 'XCTAttachment' in scope
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
240 | activity.add(attachment)
241 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:293:11: error: cannot find 'DispatchQueue' in scope
291 | #if !os(Linux) && !os(Windows)
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
295 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:294:13: error: cannot find 'XCTContext' in scope
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
295 | attachments.forEach {
296 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:330:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
328 | \(diffMessage)
329 |
330 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
331 | """
332 | } catch {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:353:5: error: cannot find 'DispatchQueue' in scope
351 |
352 | static func registerIfNeeded() {
353 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
354 | if !registered {
355 | registered = true
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:362:5: error: cannot find 'DispatchQueue' in scope
360 |
361 | func testCaseDidFinish(_ testCase: XCTestCase) {
362 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
363 | counterMap = [:]
364 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:369:28: error: cannot find 'DispatchSpecificKey' in scope
367 |
368 | extension DispatchQueue {
369 | private static let key = DispatchSpecificKey<UInt8>()
| `- error: cannot find 'DispatchSpecificKey' in scope
370 | private static let value: UInt8 = 0
371 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:368:11: error: cannot find type 'DispatchQueue' in scope
366 | }
367 |
368 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
369 | private static let key = DispatchSpecificKey<UInt8>()
370 | private static let value: UInt8 = 0
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:215:21: error: cannot find 'DispatchQueue' in scope
213 | identifier = sanitizePathComponent(name)
214 | } else {
215 | let counter = DispatchQueue.mainSync { () -> Int in
| `- error: cannot find 'DispatchQueue' in scope
216 | let key = snapshotDirectoryUrl.appendingPathComponent(testName)
217 | counterMap[key, default: 0] += 1
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:237:11: error: cannot find 'DispatchQueue' in scope
235 | #if !os(Linux) && !os(Windows)
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:238:13: error: cannot find 'XCTContext' in scope
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
240 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:239:32: error: cannot find 'XCTAttachment' in scope
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
240 | activity.add(attachment)
241 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:293:11: error: cannot find 'DispatchQueue' in scope
291 | #if !os(Linux) && !os(Windows)
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
295 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:294:13: error: cannot find 'XCTContext' in scope
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
295 | attachments.forEach {
296 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:330:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
328 | \(diffMessage)
329 |
330 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
331 | """
332 | } catch {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:353:5: error: cannot find 'DispatchQueue' in scope
351 |
352 | static func registerIfNeeded() {
353 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
354 | if !registered {
355 | registered = true
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:362:5: error: cannot find 'DispatchQueue' in scope
360 |
361 | func testCaseDidFinish(_ testCase: XCTestCase) {
362 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
363 | counterMap = [:]
364 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:369:28: error: cannot find 'DispatchSpecificKey' in scope
367 |
368 | extension DispatchQueue {
369 | private static let key = DispatchSpecificKey<UInt8>()
| `- error: cannot find 'DispatchSpecificKey' in scope
370 | private static let value: UInt8 = 0
371 |
[174/540] Compiling err_data.cc
[175/540] Compiling chacha-x86_64-apple.S
[176/540] Compiling chacha-x86-linux.S
[178/540] Compiling SnapshotTesting UIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:7:39: error: cannot find type 'URLRequest' in scope
5 | #endif
6 |
7 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
8 | /// A snapshot strategy for comparing requests based on raw equality.
9 | ///
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:74: error: cannot find type 'URLRequest' in scope
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | 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
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[179/540] Compiling SnapshotTesting UIViewController.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:7:39: error: cannot find type 'URLRequest' in scope
5 | #endif
6 |
7 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
8 | /// A snapshot strategy for comparing requests based on raw equality.
9 | ///
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:74: error: cannot find type 'URLRequest' in scope
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | 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
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[180/540] Compiling SnapshotTesting URLRequest.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:7:39: error: cannot find type 'URLRequest' in scope
5 | #endif
6 |
7 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
8 | /// A snapshot strategy for comparing requests based on raw equality.
9 | ///
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:74: error: cannot find type 'URLRequest' in scope
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | 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
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[182/540] Compiling chacha-armv8-win.S
[182/540] Compiling chacha-armv8-linux.S
[182/540] Compiling chacha-x86-apple.S
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'swift-dependencies': 'swift-dependencies' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
Building for debugging...
[0/341] Write sources
[1/341] Compiling chacha-armv8-win.S
[2/341] Compiling chacha-x86-apple.S
[3/341] Compiling chacha-armv4-linux.S
[4/341] Compiling chacha-armv8-apple.S
[4/341] Compiling aes128gcmsiv-x86_64-linux.S
[4/341] Compiling chacha-armv8-linux.S
[7/341] Compiling x86_64-mont5-linux.S
[8/341] Compiling aes128gcmsiv-x86_64-apple.S
[9/341] Compiling x86_64-mont-linux.S
[10/341] Compiling x86_64-mont5-apple.S
[11/341] Compiling vpaes-x86_64-linux.S
[12/341] Compiling x86-mont-linux.S
[13/341] Compiling x86_64-mont-apple.S
[14/341] Compiling x86-mont-apple.S
[15/341] Compiling vpaes-x86_64-apple.S
[16/341] Compiling vpaes-x86-linux.S
[17/341] Compiling vpaes-armv8-linux.S
[18/341] Compiling vpaes-x86-apple.S
[19/341] Compiling vpaes-armv8-apple.S
[20/341] Compiling sha512-x86_64-linux.S
[21/341] Compiling vpaes-armv7-linux.S
[22/341] Compiling sha512-x86_64-apple.S
[23/341] Compiling sha512-armv8-win.S
[24/341] Compiling sha512-armv8-linux.S
[25/341] Compiling sha512-586-linux.S
[26/341] Compiling sha512-586-apple.S
[26/341] Compiling sha512-armv4-linux.S
[28/341] Compiling sha512-armv8-apple.S
[29/341] Compiling sha256-x86_64-linux.S
[30/341] Compiling sha256-armv8-win.S
[31/341] Compiling sha256-x86_64-apple.S
[32/341] Compiling sha256-armv8-linux.S
[33/341] Write swift-version-24593BA9C3E375BF.txt
[34/341] Compiling sha256-armv8-apple.S
[35/341] Compiling sha256-586-apple.S
[36/341] Compiling sha256-armv4-linux.S
[37/341] Compiling sha256-586-linux.S
[38/341] Compiling sha1-x86_64-linux.S
[39/341] Compiling sha1-x86_64-apple.S
[39/341] Compiling sha1-armv8-win.S
[41/341] Compiling sha1-armv8-linux.S
[43/439] Compiling Html Tag.swift
[44/440] Compiling ConcurrencyExtras MainSerialExecutor.swift
[45/441] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[46/441] Compiling InternalCollectionsUtilities UInt+reversed.swift
[47/441] Compiling NIOConcurrencyHelpers lock.swift
[48/441] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[49/442] Compiling ConcurrencyExtras Result.swift
[50/442] Compiling ConcurrencyExtras Task.swift
[51/442] Compiling ConcurrencyExtras LockIsolated.swift
[52/442] Compiling Html DebugXmlRender.swift
[53/442] Compiling Html Elements.swift
[54/442] Compiling Html Events.swift
[55/444] Compiling IssueReporting BreakpointReporter.swift
[56/444] Compiling IssueReporting FatalErrorReporter.swift
[57/444] Compiling IssueReporting WithExpectedIssue.swift
[58/444] Compiling IssueReporting WithIssueContext.swift
[59/444] Compiling SnapshotTesting String.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
[60/444] Compiling SnapshotTesting SwiftUIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
[61/444] Compiling SnapshotTesting UIBezierPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
[62/444] Compiling SnapshotTesting UIImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
[63/447] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[64/447] Compiling InternalCollectionsUtilities Debugging.swift
[65/447] Compiling InternalCollectionsUtilities Descriptions.swift
[66/447] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[67/447] Compiling SnapshotTesting Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[68/447] Compiling SnapshotTesting Encodable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[69/447] Compiling IssueReporting RuntimeWarningReporter.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[70/447] Compiling IssueReporting ReportIssue.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[73/447] Emitting module ConcurrencyExtras
[74/447] Compiling Html XmlRender.swift
[76/447] Compiling Html Html4.swift
[81/447] Compiling Html HtmlRender.swift
[82/447] Compiling ConcurrencyExtras UncheckedSendable.swift
[83/448] Emitting module _NIODataStructures
[84/448] Compiling SnapshotTesting Any.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[85/448] Compiling SnapshotTesting CALayer.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[86/448] Compiling SnapshotTesting CGPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[87/448] Compiling SnapshotTesting CaseIterable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:115:11: error: cannot find 'DispatchQueue' in scope
113 | #if !os(Linux) && !os(Windows)
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
117 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:116:13: error: cannot find 'XCTContext' in scope
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
117 | attachments.forEach {
118 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:129:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
127 | Snapshot does not match reference.
128 |
129 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
130 | """
131 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:115:11: error: cannot find 'DispatchQueue' in scope
113 | #if !os(Linux) && !os(Windows)
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
117 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:116:13: error: cannot find 'XCTContext' in scope
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
117 | attachments.forEach {
118 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:129:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
127 | Snapshot does not match reference.
128 |
129 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
130 | """
131 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:115:11: error: cannot find 'DispatchQueue' in scope
113 | #if !os(Linux) && !os(Windows)
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
117 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:116:13: error: cannot find 'XCTContext' in scope
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
117 | attachments.forEach {
118 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:129:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
127 | Snapshot does not match reference.
128 |
129 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
130 | """
131 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:115:11: error: cannot find 'DispatchQueue' in scope
113 | #if !os(Linux) && !os(Windows)
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
117 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:116:13: error: cannot find 'XCTContext' in scope
114 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
115 | DispatchQueue.mainSync {
116 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
117 | attachments.forEach {
118 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Internal/Deprecations.swift:129:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
127 | Snapshot does not match reference.
128 |
129 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
130 | """
131 |
[92/448] Compiling Html Node.swift
[95/448] Compiling _NIODataStructures PriorityQueue.swift
[96/448] Compiling _NIODataStructures Heap.swift
[97/448] Compiling _NIODataStructures _TinyArray.swift
[99/449] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[100/449] Emitting module _NIOBase64
[101/449] Compiling _NIOBase64 Base64.swift
[102/449] Compiling SnapshotTesting UIView.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:7:39: error: cannot find type 'URLRequest' in scope
5 | #endif
6 |
7 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
8 | /// A snapshot strategy for comparing requests based on raw equality.
9 | ///
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:74: error: cannot find type 'URLRequest' in scope
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | 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
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[103/449] Compiling SnapshotTesting UIViewController.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:7:39: error: cannot find type 'URLRequest' in scope
5 | #endif
6 |
7 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
8 | /// A snapshot strategy for comparing requests based on raw equality.
9 | ///
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:74: error: cannot find type 'URLRequest' in scope
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | 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
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[104/449] Compiling SnapshotTesting URLRequest.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:7:39: error: cannot find type 'URLRequest' in scope
5 | #endif
6 |
7 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
8 | /// A snapshot strategy for comparing requests based on raw equality.
9 | ///
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | 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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:74: error: cannot find type 'URLRequest' in scope
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | 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
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[105/450] Compiling NIOConcurrencyHelpers NIOLock.swift
[106/450] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[107/450] Compiling NIOConcurrencyHelpers atomics.swift
[108/450] Emitting module NIOConcurrencyHelpers
[109/450] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[111/451] Compiling Html MediaType.swift
[129/451] Emitting module IssueReporting
[130/451] Emitting module Html
[130/451] Compiling sha1-armv8-apple.S
[132/468] Emitting module InternalCollectionsUtilities
[135/470] Compiling Atomics AtomicMemoryOrderings.swift
[136/470] Compiling Atomics DoubleWord.swift
[137/470] Compiling Atomics IntegerConformances.swift
[138/470] Compiling Atomics PointerConformances.swift
[138/471] Compiling sha1-586-apple.S
[140/471] Compiling Atomics Primitives.native.swift
[141/471] Compiling Atomics Primitives.shims.swift
[141/471] Compiling sha1-armv4-large-linux.S
[142/471] Compiling sha1-586-linux.S
[143/471] Compiling rsaz-avx2-linux.S
[149/471] Compiling Atomics RawRepresentable.swift
[150/471] Compiling Atomics AtomicBool.swift
[151/471] Compiling Atomics AtomicReference.swift
[151/472] Compiling rsaz-avx2-apple.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[153/472] Emitting module SnapshotTesting
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:368:11: error: cannot find type 'DispatchQueue' in scope
366 | }
367 |
368 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
369 | private static let key = DispatchSpecificKey<UInt8>()
370 | private static let value: UInt8 = 0
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.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(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:7:39: error: cannot find type 'URLRequest' in scope
5 | #endif
6 |
7 | extension Snapshotting where Value == URLRequest, Format == String {
| `- error: cannot find type 'URLRequest' in scope
8 | /// A snapshot strategy for comparing requests based on raw equality.
9 | ///
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:74: error: cannot find type 'URLRequest' in scope
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| `- error: cannot find type 'URLRequest' in scope
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | 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
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:368:11: error: cannot find type 'DispatchQueue' in scope
366 | }
367 |
368 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
369 | private static let key = DispatchSpecificKey<UInt8>()
370 | private static let value: UInt8 = 0
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:215:21: error: cannot find 'DispatchQueue' in scope
213 | identifier = sanitizePathComponent(name)
214 | } else {
215 | let counter = DispatchQueue.mainSync { () -> Int in
| `- error: cannot find 'DispatchQueue' in scope
216 | let key = snapshotDirectoryUrl.appendingPathComponent(testName)
217 | counterMap[key, default: 0] += 1
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:237:11: error: cannot find 'DispatchQueue' in scope
235 | #if !os(Linux) && !os(Windows)
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:238:13: error: cannot find 'XCTContext' in scope
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
240 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:239:32: error: cannot find 'XCTAttachment' in scope
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
240 | activity.add(attachment)
241 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:293:11: error: cannot find 'DispatchQueue' in scope
291 | #if !os(Linux) && !os(Windows)
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
295 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:294:13: error: cannot find 'XCTContext' in scope
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
295 | attachments.forEach {
296 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:330:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
328 | \(diffMessage)
329 |
330 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
331 | """
332 | } catch {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:353:5: error: cannot find 'DispatchQueue' in scope
351 |
352 | static func registerIfNeeded() {
353 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
354 | if !registered {
355 | registered = true
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:362:5: error: cannot find 'DispatchQueue' in scope
360 |
361 | func testCaseDidFinish(_ testCase: XCTestCase) {
362 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
363 | counterMap = [:]
364 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:369:28: error: cannot find 'DispatchSpecificKey' in scope
367 |
368 | extension DispatchQueue {
369 | private static let key = DispatchSpecificKey<UInt8>()
| `- error: cannot find 'DispatchSpecificKey' in scope
370 | private static let value: UInt8 = 0
371 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:368:11: error: cannot find type 'DispatchQueue' in scope
366 | }
367 |
368 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
369 | private static let key = DispatchSpecificKey<UInt8>()
370 | private static let value: UInt8 = 0
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:215:21: error: cannot find 'DispatchQueue' in scope
213 | identifier = sanitizePathComponent(name)
214 | } else {
215 | let counter = DispatchQueue.mainSync { () -> Int in
| `- error: cannot find 'DispatchQueue' in scope
216 | let key = snapshotDirectoryUrl.appendingPathComponent(testName)
217 | counterMap[key, default: 0] += 1
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:237:11: error: cannot find 'DispatchQueue' in scope
235 | #if !os(Linux) && !os(Windows)
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:238:13: error: cannot find 'XCTContext' in scope
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
240 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:239:32: error: cannot find 'XCTAttachment' in scope
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
240 | activity.add(attachment)
241 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:293:11: error: cannot find 'DispatchQueue' in scope
291 | #if !os(Linux) && !os(Windows)
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
295 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:294:13: error: cannot find 'XCTContext' in scope
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
295 | attachments.forEach {
296 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:330:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
328 | \(diffMessage)
329 |
330 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
331 | """
332 | } catch {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:353:5: error: cannot find 'DispatchQueue' in scope
351 |
352 | static func registerIfNeeded() {
353 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
354 | if !registered {
355 | registered = true
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:362:5: error: cannot find 'DispatchQueue' in scope
360 |
361 | func testCaseDidFinish(_ testCase: XCTestCase) {
362 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
363 | counterMap = [:]
364 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:369:28: error: cannot find 'DispatchSpecificKey' in scope
367 |
368 | extension DispatchQueue {
369 | private static let key = DispatchSpecificKey<UInt8>()
| `- error: cannot find 'DispatchSpecificKey' in scope
370 | private static let value: UInt8 = 0
371 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:368:11: error: cannot find type 'DispatchQueue' in scope
366 | }
367 |
368 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
369 | private static let key = DispatchSpecificKey<UInt8>()
370 | private static let value: UInt8 = 0
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:215:21: error: cannot find 'DispatchQueue' in scope
213 | identifier = sanitizePathComponent(name)
214 | } else {
215 | let counter = DispatchQueue.mainSync { () -> Int in
| `- error: cannot find 'DispatchQueue' in scope
216 | let key = snapshotDirectoryUrl.appendingPathComponent(testName)
217 | counterMap[key, default: 0] += 1
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:237:11: error: cannot find 'DispatchQueue' in scope
235 | #if !os(Linux) && !os(Windows)
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:238:13: error: cannot find 'XCTContext' in scope
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
240 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:239:32: error: cannot find 'XCTAttachment' in scope
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
240 | activity.add(attachment)
241 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:293:11: error: cannot find 'DispatchQueue' in scope
291 | #if !os(Linux) && !os(Windows)
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
295 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:294:13: error: cannot find 'XCTContext' in scope
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
295 | attachments.forEach {
296 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:330:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
328 | \(diffMessage)
329 |
330 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
331 | """
332 | } catch {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:353:5: error: cannot find 'DispatchQueue' in scope
351 |
352 | static func registerIfNeeded() {
353 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
354 | if !registered {
355 | registered = true
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:362:5: error: cannot find 'DispatchQueue' in scope
360 |
361 | func testCaseDidFinish(_ testCase: XCTestCase) {
362 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
363 | counterMap = [:]
364 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:369:28: error: cannot find 'DispatchSpecificKey' in scope
367 |
368 | extension DispatchQueue {
369 | private static let key = DispatchSpecificKey<UInt8>()
| `- error: cannot find 'DispatchSpecificKey' in scope
370 | private static let value: UInt8 = 0
371 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:368:11: error: cannot find type 'DispatchQueue' in scope
366 | }
367 |
368 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
369 | private static let key = DispatchSpecificKey<UInt8>()
370 | private static let value: UInt8 = 0
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:215:21: error: cannot find 'DispatchQueue' in scope
213 | identifier = sanitizePathComponent(name)
214 | } else {
215 | let counter = DispatchQueue.mainSync { () -> Int in
| `- error: cannot find 'DispatchQueue' in scope
216 | let key = snapshotDirectoryUrl.appendingPathComponent(testName)
217 | counterMap[key, default: 0] += 1
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:237:11: error: cannot find 'DispatchQueue' in scope
235 | #if !os(Linux) && !os(Windows)
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:238:13: error: cannot find 'XCTContext' in scope
236 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
| `- error: cannot find 'XCTContext' in scope
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
240 | activity.add(attachment)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:239:32: error: cannot find 'XCTAttachment' in scope
237 | DispatchQueue.mainSync {
238 | XCTContext.runActivity(named: "Attached Recorded Snapshot") { activity in
239 | let attachment = XCTAttachment(contentsOfFile: snapshotFileUrl)
| `- error: cannot find 'XCTAttachment' in scope
240 | activity.add(attachment)
241 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:14:48: error: cannot find type 'XCTAttachment' in scope
12 | /// Compares two values. If the values do not match, returns a failure message and artifacts
13 | /// describing the failure.
14 | public var diff: (Value, Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
15 |
16 | /// Creates a new `Diffing` on `Value`.
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:293:11: error: cannot find 'DispatchQueue' in scope
291 | #if !os(Linux) && !os(Windows)
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
295 | attachments.forEach {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:294:13: error: cannot find 'XCTContext' in scope
292 | if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {
293 | DispatchQueue.mainSync {
294 | XCTContext.runActivity(named: "Attached Failure Diff") { activity in
| `- error: cannot find 'XCTContext' in scope
295 | attachments.forEach {
296 | activity.add($0)
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:330:41: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
328 | \(diffMessage)
329 |
330 | \(failure.trimmingCharacters(in: .whitespacesAndNewlines))
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
331 | """
332 | } catch {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:353:5: error: cannot find 'DispatchQueue' in scope
351 |
352 | static func registerIfNeeded() {
353 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
354 | if !registered {
355 | registered = true
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:362:5: error: cannot find 'DispatchQueue' in scope
360 |
361 | func testCaseDidFinish(_ testCase: XCTestCase) {
362 | DispatchQueue.mainSync {
| `- error: cannot find 'DispatchQueue' in scope
363 | counterMap = [:]
364 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift:369:28: error: cannot find 'DispatchSpecificKey' in scope
367 |
368 | extension DispatchQueue {
369 | private static let key = DispatchSpecificKey<UInt8>()
| `- error: cannot find 'DispatchSpecificKey' in scope
370 | private static let value: UInt8 = 0
371 |
[159/474] Compiling rdrand-x86_64-apple.S
[160/474] Compiling rdrand-x86_64-linux.S
[162/474] Compiling Atomics UnsafeAtomic.swift
[163/474] Compiling Atomics UnsafeAtomicLazyReference.swift
[165/474] Compiling Atomics ManagedAtomic.swift
[166/474] Compiling Atomics ManagedAtomicLazyReference.swift
[166/474] Compiling p256_beeu-x86_64-asm-linux.S
[167/474] Compiling p256_beeu-x86_64-asm-apple.S
[168/474] Compiling p256_beeu-armv8-asm-win.S
[171/474] Compiling Atomics AtomicInteger.swift
[172/474] Compiling Atomics AtomicOptionalWrappable.swift
[174/474] Compiling Atomics AtomicStorage.swift
[175/474] Compiling Atomics AtomicValue.swift
[175/474] Compiling p256_beeu-armv8-asm-linux.S
[176/474] Compiling p256_beeu-armv8-asm-apple.S
[177/474] Compiling p256-x86_64-asm-linux.S
[178/474] Compiling p256-armv8-asm-win.S
[178/474] Compiling p256-x86_64-asm-apple.S
[180/474] Compiling p256-armv8-asm-linux.S
[181/474] Compiling p256-armv8-asm-apple.S
[182/474] Compiling ghashv8-armv8-win.S
[183/474] Compiling ghashv8-armv8-linux.S
[183/474] Compiling ghashv8-armv7-linux.S
[183/474] Compiling ghashv8-armv8-apple.S
[184/474] Compiling Atomics OptionalRawRepresentable.swift
BUILD FAILURE 6.1 wasm