Build Information
Failed to build swift-web, reference main (f17cce
), with Swift 6.1 for Android on 29 May 2025 12:36:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
Building for debugging...
[0/411] Write sources
[25/411] Compiling CNIOExtrasZlib empty.c
[26/411] Write sources
[28/411] Compiling CNIOLLHTTP c_nio_http.c
[29/411] Write sources
[36/411] Compiling CNIOWindows shim.c
[37/411] Compiling _AtomicsShims.c
[38/411] Compiling CNIOLLHTTP c_nio_api.c
[39/411] Compiling CNIOWindows WSAStartup.c
[40/411] Compiling CNIOWASI CNIOWASI.c
[41/411] Compiling CNIOLinux liburing_shims.c
[42/411] Compiling CNIODarwin shim.c
[43/411] Compiling CNIOLLHTTP c_nio_llhttp.c
[43/411] Write swift-version-24593BA9C3E375BF.txt
[45/411] Compiling CNIOLinux shim.c
[46/417] Compiling CCryptoBoringSSLShims shims.c
[47/417] Compiling tls_cbc.cc
[48/417] Compiling e_tls.cc
[49/417] Compiling a_octet.cc
[50/492] Compiling c-nioatomics.c
[51/492] Compiling c-atomics.c
[53/492] Emitting module _NIOBase64
[54/492] Compiling _NIOBase64 Base64.swift
[55/504] Compiling fiat_p256_adx_sqr.S
[57/504] Emitting module InternalCollectionsUtilities
[58/505] Compiling _NIODataStructures PriorityQueue.swift
[59/505] Compiling _NIODataStructures Heap.swift
[60/505] Emitting module _NIODataStructures
[61/505] Compiling _NIODataStructures _TinyArray.swift
[62/505] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[63/505] Compiling InternalCollectionsUtilities Descriptions.swift
[64/505] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[65/505] Compiling ConcurrencyExtras ActorIsolated.swift
[66/505] Compiling ConcurrencyExtras AnyHashableSendable.swift
[67/505] Compiling ConcurrencyExtras AsyncStream.swift
[68/505] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[69/505] Compiling ConcurrencyExtras Locking.swift
[70/505] Compiling ConcurrencyExtras UncheckedBox.swift
[71/506] Compiling Html Events.swift
[72/506] Compiling Html Html4.swift
[73/506] Compiling Html HtmlRender.swift
[74/506] Compiling Html MediaType.swift
[75/511] Compiling fiat_p256_adx_mul.S
[77/512] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[77/512] Compiling fiat_curve25519_adx_square.S
[78/513] Compiling fiat_curve25519_adx_mul.S
[80/513] Compiling md5-x86_64-linux.S
[81/513] Compiling md5-x86_64-apple.S
[83/513] Compiling NIOConcurrencyHelpers NIOLock.swift
[84/513] Compiling NIOConcurrencyHelpers lock.swift
[84/513] Compiling md5-586-linux.S
[85/513] Compiling md5-586-apple.S
[87/513] Compiling ConcurrencyExtras Result.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[88/513] 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
[88/514] Compiling chacha20_poly1305_x86_64-linux.S
[90/514] Compiling Html Tag.swift
[90/515] Compiling chacha20_poly1305_x86_64-apple.S
[91/515] Compiling chacha20_poly1305_armv8-win.S
[93/524] Emitting module NIOConcurrencyHelpers
[94/524] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[95/526] Compiling SnapshotTesting NSView.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
[96/526] Compiling SnapshotTesting NSViewController.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
[97/526] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[98/528] Compiling NIOConcurrencyHelpers atomics.swift
[98/533] Compiling chacha20_poly1305_armv8-linux.S
[100/533] Compiling Html Node.swift
[101/533] Compiling Html XmlRender.swift
[101/533] Compiling chacha20_poly1305_armv8-apple.S
[104/533] Compiling ConcurrencyExtras UncheckedSendable.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
[104/533] Compiling chacha-x86_64-linux.S
[106/533] Compiling DequeModule Deque+CustomReflectable.swift
[107/533] Compiling DequeModule Deque+Descriptions.swift
[107/535] Compiling chacha-x86_64-apple.S
[109/535] Compiling DequeModule Deque+Extras.swift
[110/535] Compiling DequeModule Deque+Hashable.swift
[111/535] Compiling DequeModule Deque+Testing.swift
[112/535] Compiling DequeModule Deque._Storage.swift
[112/535] Compiling chacha-x86-linux.S
[113/535] Compiling chacha-x86-apple.S
[115/535] Compiling DequeModule _DequeBuffer.swift
[116/535] Compiling DequeModule _DequeBufferHeader.swift
[116/535] Compiling chacha-armv8-win.S
[118/535] Compiling DequeModule Deque+Equatable.swift
[119/535] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[119/535] Compiling chacha-armv8-linux.S
[124/535] Compiling chacha-armv8-apple.S
[129/535] Compiling chacha-armv4-linux.S
[130/535] Compiling aes128gcmsiv-x86_64-linux.S
[131/535] Compiling aes128gcmsiv-x86_64-apple.S
[132/535] Compiling x86_64-mont5-linux.S
[133/535] Compiling x86_64-mont5-apple.S
[134/535] Compiling x86_64-mont-linux.S
[135/535] Compiling err_data.cc
[136/535] Compiling x86-mont-linux.S
[137/535] Compiling x86_64-mont-apple.S
[139/535] Compiling DequeModule _DequeSlot.swift
[140/535] Compiling DequeModule _UnsafeWrappedBuffer.swift
[140/535] Compiling x86-mont-apple.S
[141/535] Compiling vpaes-x86_64-linux.S
[142/535] Compiling vpaes-x86_64-apple.S
[144/535] Compiling IssueReporting WithExpectedIssue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[145/535] Compiling IssueReporting WithIssueContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[146/535] Compiling DequeModule Deque._UnsafeHandle.swift
[147/535] Compiling DequeModule Deque.swift
[148/535] Compiling DequeModule Deque+Codable.swift
[149/535] Compiling DequeModule Deque+Collection.swift
[149/535] Compiling vpaes-x86-apple.S
[150/535] Compiling vpaes-x86-linux.S
[151/535] Compiling vpaes-armv8-win.S
[152/535] Compiling vpaes-armv8-linux.S
[153/535] Compiling vpaes-armv8-apple.S
[154/535] Compiling vpaes-armv7-linux.S
[155/535] Compiling sha512-x86_64-linux.S
[156/535] Compiling sha512-x86_64-apple.S
[157/535] Compiling sha512-armv8-win.S
[158/535] Compiling sha512-armv8-apple.S
[159/535] Compiling sha512-armv8-linux.S
[160/535] Compiling sha512-armv4-linux.S
[161/535] Compiling sha512-586-linux.S
[162/535] Compiling sha256-x86_64-linux.S
[163/535] Compiling sha512-586-apple.S
[164/535] Compiling sha256-x86_64-apple.S
[165/535] Compiling sha256-armv8-win.S
[166/535] Compiling sha256-armv8-linux.S
[168/535] Emitting module DequeModule
[168/536] Compiling sha256-armv8-apple.S
[169/536] Compiling sha256-armv4-linux.S
[170/536] Compiling sha256-586-linux.S
[171/536] Compiling sha256-586-apple.S
[172/536] Compiling sha1-x86_64-linux.S
[173/536] Compiling sha1-x86_64-apple.S
[175/536] Compiling sha1-armv8-win.S
[176/536] Compiling sha1-armv8-linux.S
[177/536] Compiling sha1-armv4-large-linux.S
[178/536] Compiling sha1-armv8-apple.S
[179/536] Compiling sha1-586-linux.S
[180/536] Compiling sha1-586-apple.S
[181/536] Compiling rsaz-avx2-linux.S
[182/536] Compiling rsaz-avx2-apple.S
[183/536] Compiling rdrand-x86_64-linux.S
[184/536] Compiling rdrand-x86_64-apple.S
[185/536] Compiling p256_beeu-x86_64-asm-linux.S
[186/536] Compiling p256_beeu-x86_64-asm-apple.S
[187/536] Compiling p256_beeu-armv8-asm-win.S
[188/536] Compiling p256_beeu-armv8-asm-linux.S
[189/536] Compiling p256_beeu-armv8-asm-apple.S
[190/536] Compiling p256-x86_64-asm-linux.S
[191/536] Compiling p256-armv8-asm-win.S
[192/536] Compiling p256-x86_64-asm-apple.S
[193/536] Compiling p256-armv8-asm-apple.S
[194/536] Compiling p256-armv8-asm-linux.S
[195/536] Compiling ghashv8-armv8-win.S
[196/536] Compiling ghashv8-armv8-linux.S
[197/536] Compiling ghashv8-armv8-apple.S
[198/536] Compiling ghashv8-armv7-linux.S
[199/536] Compiling ghash-x86_64-linux.S
[200/536] Compiling ghash-x86_64-apple.S
[201/536] Compiling ghash-x86-linux.S
[202/536] Compiling ghash-x86-apple.S
[203/536] Compiling ghash-ssse3-x86_64-apple.S
[204/536] Compiling ghash-ssse3-x86_64-linux.S
[205/536] Compiling ghash-ssse3-x86-linux.S
[206/536] Compiling ghash-ssse3-x86-apple.S
[207/536] Compiling ghash-neon-armv8-win.S
[208/536] Compiling ghash-neon-armv8-linux.S
[209/536] Compiling ghash-neon-armv8-apple.S
[210/536] Compiling ghash-armv4-linux.S
[211/536] Compiling co-586-linux.S
[212/536] Compiling co-586-apple.S
[213/536] Compiling bsaes-armv7-linux.S
[214/536] Compiling bn-armv8-win.S
[215/536] Compiling bn-586-apple.S
[216/536] Compiling bn-armv8-linux.S
[217/536] Compiling bn-586-linux.S
[217/536] Compiling bn-armv8-apple.S
[219/536] Compiling armv8-mont-win.S
[220/536] Compiling armv4-mont-linux.S
[221/536] Compiling armv8-mont-apple.S
[222/536] Compiling armv8-mont-linux.S
[223/536] Compiling aesv8-gcm-armv8-win.S
[224/536] Compiling aesv8-gcm-armv8-apple.S
[225/536] Compiling aesv8-armv8-linux.S
[226/536] Compiling aesv8-gcm-armv8-linux.S
[227/536] Compiling aesv8-armv8-win.S
[228/536] Compiling aesv8-armv8-apple.S
[229/536] Compiling aesni-x86_64-apple.S
[230/536] Compiling aesv8-armv7-linux.S
[231/536] Compiling aesni-x86_64-linux.S
[232/536] Compiling aesni-x86-linux.S
[233/536] Compiling aesni-x86-apple.S
[234/536] Compiling aesni-gcm-x86_64-apple.S
[235/536] Compiling aesni-gcm-x86_64-linux.S
[236/536] Compiling aes-gcm-avx10-x86_64-linux.S
[237/536] Compiling aes-gcm-avx10-x86_64-apple.S
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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(
<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
[255/539] Emitting module IssueReporting
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[256/539] Emitting module SnapshotTesting
/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:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/AssertSnapshot.swift: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: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: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: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: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: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: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: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 {
[261/539] 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
[262/539] Compiling SnapshotTesting Any.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[263/539] Compiling SnapshotTesting CALayer.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[264/539] Compiling SnapshotTesting CGPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[265/539] Compiling SnapshotTesting CaseIterable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[266/539] Compiling SnapshotTesting Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[267/539] Compiling SnapshotTesting Encodable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[268/539] Compiling SnapshotTesting NSBezierPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[269/539] Compiling SnapshotTesting NSImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/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: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: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: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: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 |
[274/539] 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
<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
<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
[285/539] Emitting module ConcurrencyExtras
<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
<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
[295/541] Emitting module Html
[300/542] Compiling SnapshotTesting UIView.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/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:28:12: error: generic parameter 'Format' could not be inferred
26 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
27 | public static func raw(pretty: Bool) -> Snapshotting {
28 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
29 | let method =
30 | "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
/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 {
[301/542] Compiling SnapshotTesting UIViewController.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/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:28:12: error: generic parameter 'Format' could not be inferred
26 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
27 | public static func raw(pretty: Bool) -> Snapshotting {
28 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
29 | let method =
30 | "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
/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 {
[302/542] Compiling SnapshotTesting URLRequest.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/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:28:12: error: generic parameter 'Format' could not be inferred
26 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
27 | public static func raw(pretty: Bool) -> Snapshotting {
28 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
29 | let method =
30 | "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
/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 {
[302/542] Compiling x_x509.cc
[302/542] Compiling x_spki.cc
[302/542] Compiling x_req.cc
[302/542] Compiling x_x509a.cc
[302/542] Compiling x_sig.cc
[302/542] Compiling x_val.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'swift-dependencies': 'swift-dependencies' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
Building for debugging...
[0/241] Compiling x_spki.cc
[1/241] Compiling x_val.cc
[2/241] Write swift-version-24593BA9C3E375BF.txt
[3/241] Compiling x_name.cc
[4/241] Compiling x_pubkey.cc
[5/241] Compiling x_sig.cc
[6/241] Compiling x_req.cc
[7/241] Compiling x_x509a.cc
[8/241] Compiling x_x509.cc
[10/315] Emitting module _NIODataStructures
[11/315] Compiling NIOConcurrencyHelpers lock.swift
[12/315] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[13/315] Compiling NIOConcurrencyHelpers atomics.swift
[14/315] Compiling IssueReporting FatalErrorReporter.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 {
[15/315] Compiling IssueReporting XCTest.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 {
[16/315] Compiling IssueReporting IsTesting.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 {
[17/315] Compiling IssueReporting IssueReporter.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 {
[18/318] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[19/318] Compiling InternalCollectionsUtilities Debugging.swift
[20/318] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[21/318] Compiling InternalCollectionsUtilities Integer rank.swift
[22/318] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/318] Compiling InternalCollectionsUtilities Descriptions.swift
[24/318] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[25/319] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[26/319] Compiling InternalCollectionsUtilities _SortedCollection.swift
[27/319] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[28/319] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[29/319] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[30/319] Compiling InternalCollectionsUtilities UInt+reversed.swift
[31/319] Emitting module _NIOBase64
[32/319] Compiling _NIOBase64 Base64.swift
[33/320] Compiling SnapshotTesting NSView.swift
[34/320] Compiling SnapshotTesting NSViewController.swift
[35/320] Compiling SnapshotTesting SceneKit.swift
[36/320] Compiling SnapshotTesting SpriteKit.swift
[37/320] 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(
[38/320] 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(
[39/320] 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(
[40/320] 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(
[41/320] Compiling NIOConcurrencyHelpers NIOLock.swift
[42/320] Compiling NIOConcurrencyHelpers NIOAtomic.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: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: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: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: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 |
[47/320] Compiling IssueReporting TestContext.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 {
[48/320] Compiling IssueReporting Unimplemented.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 {
[49/320] Compiling SnapshotTesting CGPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[50/320] Compiling SnapshotTesting CaseIterable.swift
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[51/320] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[62/322] Emitting module IssueReporting
[62/322] Compiling x_exten.cc
[64/322] Emitting module NIOConcurrencyHelpers
[65/323] Compiling _NIODataStructures PriorityQueue.swift
[66/323] Compiling _NIODataStructures _TinyArray.swift
[67/323] Compiling _NIODataStructures Heap.swift
[70/335] Compiling SnapshotTesting UIView.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/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:28:12: error: generic parameter 'Format' could not be inferred
26 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
27 | public static func raw(pretty: Bool) -> Snapshotting {
28 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
29 | let method =
30 | "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
/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 {
[71/335] Compiling SnapshotTesting UIViewController.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/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:28:12: error: generic parameter 'Format' could not be inferred
26 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
27 | public static func raw(pretty: Bool) -> Snapshotting {
28 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
29 | let method =
30 | "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
/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 {
[72/335] Compiling SnapshotTesting URLRequest.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/URLRequest.swift:77:28: error: generic parameter 'Format' could not be inferred
75 | // "https://www.pointfree.co/subscribe"
76 | // ```
77 | public static let curl = SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
78 |
79 | var components = ["curl"]
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/URLRequest.swift:28:12: error: generic parameter 'Format' could not be inferred
26 | /// - Parameter pretty: Attempts to pretty print the body of the request (supports JSON).
27 | public static func raw(pretty: Bool) -> Snapshotting {
28 | return SimplySnapshotting.lines.pullback { (request: URLRequest) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
29 | let method =
30 | "\(request.httpMethod ?? "GET") \(request.url?.sortingQueryItems()?.absoluteString ?? "(null)")"
/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/336] Compiling IssueReporting WithExpectedIssue.swift
[74/336] Compiling IssueReporting WithIssueContext.swift
[75/336] Compiling Html Events.swift
[76/336] Compiling Html Html4.swift
[77/336] Compiling Html DebugXmlRender.swift
[78/336] Compiling Html Elements.swift
[79/337] Emitting module InternalCollectionsUtilities
[79/338] Compiling x_crl.cc
[82/338] Compiling Html ChildOf.swift
[83/338] Compiling Html DebugRender.swift
[84/338] Compiling Html Aria.swift
[85/338] Compiling Html Attributes.swift
[90/338] Compiling Html HtmlRender.swift
[91/349] Compiling Html Tag.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/351] Emitting module SnapshotTesting
/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: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 {
[94/351] Compiling ConcurrencyExtras ActorIsolated.swift
/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: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 {
[95/351] Compiling ConcurrencyExtras AnyHashableSendable.swift
/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: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 {
[96/351] Compiling ConcurrencyExtras AsyncStream.swift
/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: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 {
[97/351] Compiling ConcurrencyExtras AsyncThrowingStream.swift
/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: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 {
[97/351] Compiling x_all.cc
[97/351] Compiling x509spki.cc
[98/351] Compiling ConcurrencyExtras Locking.swift
[99/351] Compiling ConcurrencyExtras UncheckedBox.swift
[99/351] Compiling x_algor.cc
[99/351] Compiling x_attrib.cc
BUILD FAILURE 6.1 android