Build Information
Failed to build swift-web, reference main (3248f4), with Swift 6.1 for Wasm on 12 Aug 2026 07:12:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[181/586] Compiling ContainersPreview SpanIterator.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
[182/586] Compiling ContainersPreview UniqueBox.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
[184/586] Compiling ContainersPreview Container+SpanwiseZip.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
[185/586] Compiling ContainersPreview Container.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
[186/586] Compiling ContainersPreview ContainerIterator.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
[187/586] Compiling ContainersPreview DynamicContainer.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
[188/586] Compiling ContainersPreview MutableContainer.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
[189/586] Emitting module ContainersPreview
<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
[192/586] Compiling ContainersPreview BorrowingSequence.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
[193/586] Compiling ContainersPreview BidirectionalContainer.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
[194/586] Compiling ContainersPreview Container+Filter.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
[194/587] Compiling chacha-armv8-win.S
[196/587] Compiling NIOConcurrencyHelpers NIOLock.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
[197/587] Compiling chacha-armv8-linux.S
[198/587] Compiling chacha-armv8-apple.S
[199/587] Compiling chacha-armv4-linux.S
[203/587] Emitting module Html
[204/588] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.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
[205/588] Compiling NIOConcurrencyHelpers atomics.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
[205/588] Compiling aes128gcmsiv-x86_64-apple.S
[206/588] Compiling aes128gcmsiv-x86_64-linux.S
[209/588] Compiling ConcurrencyExtras MainSerialExecutor.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
[210/588] 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
/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/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/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/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/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 {
/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 {
<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
[219/588] 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
/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 {
/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 {
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[233/590] Emitting module NIOConcurrencyHelpers
<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
[234/590] Compiling NIOConcurrencyHelpers NIOAtomic.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
[234/590] Compiling x86_64-mont5-linux.S
/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/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/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/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[240/591] 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 {
[240/591] Compiling x86_64-mont5-apple.S
[241/591] Compiling x86_64-mont-linux.S
/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 |
[249/591] Compiling x86-mont-linux.S
[249/591] Compiling x86_64-mont-apple.S
[251/596] Compiling vpaes-x86-apple.S
[251/597] Compiling vpaes-armv8-win.S
[251/607] Compiling x86-mont-apple.S
[251/610] Compiling vpaes-x86_64-linux.S
[251/611] Compiling vpaes-x86-linux.S
[251/613] Compiling vpaes-x86_64-apple.S
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/341] Compiling vpaes-x86-linux.S
[1/341] Compiling vpaes-x86_64-linux.S
[2/341] Compiling vpaes-armv8-linux.S
[3/341] Compiling x86-mont-apple.S
[4/341] Compiling vpaes-armv8-win.S
[5/341] Compiling vpaes-armv8-apple.S
[6/341] Compiling vpaes-x86_64-apple.S
[7/341] Compiling vpaes-x86-apple.S
[8/341] Compiling vpaes-armv7-linux.S
[9/341] Compiling sha512-x86_64-linux.S
[10/341] Compiling sha512-armv8-linux.S
[11/341] Compiling sha512-x86_64-apple.S
[12/341] Compiling sha512-armv8-win.S
[13/341] Compiling sha512-armv8-apple.S
[14/341] Compiling sha512-armv4-linux.S
[15/341] Compiling sha512-586-apple.S
[16/341] Compiling sha256-x86_64-apple.S
[17/341] Compiling sha256-x86_64-linux.S
[18/341] Compiling sha512-586-linux.S
[19/341] Compiling sha256-armv8-win.S
[20/341] Compiling sha256-armv8-linux.S
[21/341] Compiling sha256-armv8-apple.S
[22/341] Compiling sha256-586-linux.S
[23/341] Compiling sha256-armv4-linux.S
[24/341] Compiling sha1-x86_64-apple.S
[25/341] Compiling sha256-586-apple.S
[26/341] Compiling sha1-armv8-win.S
[27/341] Compiling sha1-x86_64-linux.S
[28/341] Compiling sha1-armv8-apple.S
[29/341] Compiling sha1-armv8-linux.S
[30/341] Compiling sha1-armv4-large-linux.S
[31/341] Compiling sha1-586-apple.S
[32/341] Compiling rsaz-avx2-apple.S
[33/341] Compiling rsaz-avx2-linux.S
[34/341] Compiling rdrand-x86_64-linux.S
[35/341] Compiling rdrand-x86_64-apple.S
[36/341] Compiling p256_beeu-x86_64-asm-linux.S
[37/341] Compiling p256_beeu-x86_64-asm-apple.S
[38/341] Compiling p256_beeu-armv8-asm-win.S
[39/341] Write swift-version-24593BA9C3E375BF.txt
[40/341] Compiling sha1-586-linux.S
[41/341] Compiling p256_beeu-armv8-asm-linux.S
[42/341] Compiling p256_beeu-armv8-asm-apple.S
[43/341] Compiling p256-x86_64-asm-linux.S
[44/341] Compiling p256-x86_64-asm-apple.S
[45/341] Compiling p256-armv8-asm-win.S
[46/341] Compiling p256-armv8-asm-apple.S
[47/341] Compiling p256-armv8-asm-linux.S
[49/446] Compiling Html Tag.swift
[50/447] Compiling IssueReporting BreakpointReporter.swift
[51/447] Compiling IssueReporting DefaultReporter.swift
[52/449] Compiling NIOConcurrencyHelpers lock.swift
[53/449] Compiling SnapshotTesting NSView.swift
[54/449] Compiling SnapshotTesting NSViewController.swift
[55/449] Compiling SnapshotTesting SceneKit.swift
[56/449] Compiling SnapshotTesting SpriteKit.swift
[57/452] 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(
[58/452] 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(
[59/452] 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(
[60/452] 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(
[61/452] Compiling InternalCollectionsUtilities _SortedCollection.swift
[62/452] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[63/452] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[64/452] Compiling ConcurrencyExtras Locking.swift
[65/452] Compiling ConcurrencyExtras UncheckedBox.swift
[66/452] Compiling ConcurrencyExtras LockIsolated.swift
[67/452] Compiling ConcurrencyExtras AsyncStream.swift
[68/452] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[69/453] Compiling ConcurrencyExtras ActorIsolated.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/453] Compiling ConcurrencyExtras AnyHashableSendable.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 {
/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 {
/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/453] Compiling ConcurrencyExtras MainSerialExecutor.swift
[75/453] Compiling IssueReporting Unimplemented.swift
[76/455] Emitting module _NIOBase64
[77/455] Compiling NIOConcurrencyHelpers NIOLock.swift
[80/455] Emitting module ConcurrencyExtras
[84/455] Compiling Html XmlRender.swift
[85/455] Compiling Html MediaType.swift
[86/455] Compiling IssueReporting ReportIssue.swift
[87/455] Compiling IssueReporting _Test.swift
[88/455] 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 {
[89/455] 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 {
[90/455] 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 {
[97/455] Emitting module InternalCollectionsUtilities
[98/455] Compiling Html Events.swift
[99/455] Compiling Html Html4.swift
[100/455] Compiling Html HtmlRender.swift
[101/455] Compiling IssueReporting SwiftTesting.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 {
[102/455] Compiling IssueReporting UncheckedSendable.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 {
[103/455] Compiling IssueReporting Warn.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/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 {
[105/455] Compiling Html Node.swift
[106/455] Compiling ConcurrencyExtras Task.swift
[107/455] Compiling ConcurrencyExtras Result.swift
[108/455] Compiling _NIOBase64 Base64.swift
[109/456] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[110/456] Compiling ConcurrencyExtras UncheckedSendable.swift
[114/457] Compiling _NIODataStructures Heap.swift
[115/457] Compiling _NIODataStructures _TinyArray.swift
[116/457] Compiling _NIODataStructures PriorityQueue.swift
/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[128/457] 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 {
[129/457] Emitting module _NIODataStructures
[130/458] Compiling NIOConcurrencyHelpers atomics.swift
[131/458] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[131/458] Compiling ghashv8-armv8-win.S
[133/458] Emitting module NIOConcurrencyHelpers
[133/459] Compiling ghashv8-armv8-linux.S
[134/459] Compiling ghashv8-armv8-apple.S
[136/459] Compiling ghashv8-armv7-linux.S
[138/459] Compiling ghash-x86_64-linux.S
[139/459] Compiling ghash-x86-linux.S
[140/459] Compiling ghash-x86_64-apple.S
[141/459] Compiling ghash-ssse3-x86_64-linux.S
[143/459] Emitting module IssueReporting
[143/459] Compiling ghash-x86-apple.S
[144/459] Compiling ghash-ssse3-x86_64-apple.S
[156/459] Compiling ghash-ssse3-x86-linux.S
[157/459] Compiling ghash-ssse3-x86-apple.S
[159/459] Compiling IssueReporting WithExpectedIssue.swift
[160/459] Compiling IssueReporting WithIssueContext.swift
[160/460] Compiling ghash-neon-armv8-win.S
[163/460] Compiling ghash-neon-armv8-linux.S
[164/460] Compiling ghash-neon-armv8-apple.S
[165/460] Compiling co-586-linux.S
[166/460] Compiling co-586-apple.S
[167/460] Compiling ghash-armv4-linux.S
[168/460] Compiling bsaes-armv7-linux.S
[177/460] Compiling bn-armv8-win.S
[178/461] Compiling bn-armv8-apple.S
[179/461] Compiling bn-armv8-linux.S
[180/461] Compiling bn-586-linux.S
[181/461] Compiling bn-586-apple.S
[184/461] Compiling armv8-mont-win.S
[186/461] Compiling armv8-mont-apple.S
[187/461] Compiling armv8-mont-linux.S
[188/461] Compiling armv4-mont-linux.S
[189/461] Compiling aesv8-gcm-armv8-win.S
[190/472] Compiling aesv8-gcm-armv8-linux.S
[191/472] Compiling aesv8-gcm-armv8-apple.S
[192/485] Compiling aesv8-armv8-win.S
[193/485] Compiling aesv8-armv8-linux.S
[194/485] Compiling aesv8-armv8-apple.S
[195/485] Compiling aesv8-armv7-linux.S
[197/485] Compiling CombineSchedulers Lock.swift
/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 |
[198/485] Compiling CombineSchedulers NSRecursiveLock.swift
/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 |
[199/485] Compiling CombineSchedulers Platform.swift
/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 |
[200/485] Compiling CombineSchedulers SwiftUI.swift
/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 |
[200/485] Compiling aesni-x86_64-linux.S
[200/485] Compiling aesni-x86_64-apple.S
[201/485] Emitting module Html
BUILD FAILURE 6.1 wasm