Build Information
Failed to build swift-web, reference main (3248f4), with Swift 6.1 for Android on 12 Aug 2026 07:11:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
[225/731] Compiling DequeModule Deque.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
[225/731] Compiling md5-586-apple.S
[253/731] Emitting module DequeModule
<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
[253/731] Compiling err_data.cc
[254/731] Compiling chacha20_poly1305_x86_64-linux.S
[255/731] Compiling chacha20_poly1305_x86_64-apple.S
[256/731] Compiling chacha20_poly1305_armv8-win.S
[258/731] Compiling DequeModule UniqueDeque+Replacements.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
[259/731] Compiling DequeModule UniqueDeque.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
[260/731] Compiling DequeModule _DequeSlot.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
[261/731] Compiling DequeModule _UnsafeDequeHandle.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/731] Compiling DequeModule _UnsafeDequeSegments.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
[263/732] Compiling chacha20_poly1305_armv8-linux.S
[264/732] Compiling chacha20_poly1305_armv8-apple.S
[265/732] Compiling chacha-x86_64-linux.S
[267/732] Compiling OpenCombine Publishers.Map.swift
[268/732] Compiling OpenCombine Publishers.MapError.swift
[269/732] Compiling OpenCombine Publishers.MeasureInterval.swift
[270/732] Compiling OpenCombine Publishers.Multicast.swift
[271/732] Compiling OpenCombine Publishers.Output.swift
[272/732] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[273/732] Compiling OpenCombine Publishers.PrefixWhile.swift
[274/732] Compiling OpenCombine Publishers.Print.swift
[275/732] Compiling OpenCombine Publishers.ReceiveOn.swift
[276/732] Compiling OpenCombine Publishers.Reduce.swift
[277/732] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[278/732] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[279/732] Compiling OpenCombine Publishers.ReplaceError.swift
[293/732] Compiling OpenCombine Utils.swift
[294/732] Compiling OpenCombine Violations.swift
[295/732] Compiling OpenCombine ImmediateScheduler.swift
[296/732] Compiling OpenCombine ObservableObject.swift
[297/732] Compiling OpenCombine PassthroughSubject.swift
[298/732] Compiling OpenCombine Published.swift
[299/732] Compiling OpenCombine Publisher+Subscribe.swift
[300/732] Compiling OpenCombine Deferred.swift
[301/732] Compiling OpenCombine Empty.swift
[302/732] Compiling OpenCombine Fail.swift
[303/732] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[304/732] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[305/732] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[312/732] Compiling OpenCombine Publishers.SwitchToLatest.swift
[313/732] Compiling OpenCombine Publishers.Throttle.swift
[314/732] Compiling OpenCombine Publishers.Timeout.swift
[315/732] Compiling OpenCombine Publishers.Zip.swift
[316/732] Compiling OpenCombine Publishers.swift
[317/732] Compiling OpenCombine Record.swift
[318/732] Compiling OpenCombine Result.Publisher.swift
[318/732] Compiling chacha-x86-linux.S
[319/732] Compiling chacha-x86_64-apple.S
[320/733] Compiling chacha-x86-apple.S
[321/733] Compiling chacha-armv8-win.S
[322/733] Compiling chacha-armv8-apple.S
[323/733] Compiling chacha-armv4-linux.S
[324/733] Compiling chacha-armv8-linux.S
[326/733] 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
[327/734] 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
[328/734] Compiling aes128gcmsiv-x86_64-linux.S
[330/734] 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
[332/734] Compiling aes128gcmsiv-x86_64-apple.S
[333/734] Compiling x86_64-mont5-linux.S
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/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(
[346/737] Compiling x86_64-mont5-apple.S
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Data.swift:10:40: error: 'nil' requires a contextual type
8 | pathExtension: nil,
9 | diffing: .init(toData: { $0 }, fromData: { $0 }) { old, new in
10 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
11 | let message =
12 | old.count == new.count
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:30:24: error: generic parameter 'Format' could not be inferred
28 | /// - Parameter encoder: A JSON encoder.
29 | public static func json(_ encoder: JSONEncoder) -> Snapshotting {
30 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
31 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Encodable.swift:72:24: error: generic parameter 'Format' could not be inferred
70 | /// - Parameter encoder: A property list encoder.
71 | public static func plist(_ encoder: PropertyListEncoder) -> Snapshotting {
72 | var snapshotting = SimplySnapshotting.lines.pullback { (encodable: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
73 | try! String(decoding: encoder.encode(encodable), as: UTF8.self)
74 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<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
[361/739] Compiling x86_64-mont-linux.S
/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 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[375/739] 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 {
[376/739] 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
[377/739] 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
[378/739] 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
[378/739] Compiling x86_64-mont-apple.S
[380/750] Emitting module Html
[380/750] Compiling x86-mont-linux.S
[382/750] Compiling OpenCombineFoundation Locking.swift
[383/750] Compiling OpenCombineFoundation Portability.swift
[383/751] Compiling x86-mont-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
[387/751] Compiling OpenCombineFoundation JSONEncoder.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
[391/751] Compiling OpenCombineFoundation NotificationCenter.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
[392/751] Compiling OpenCombineFoundation Utils.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
[393/751] Compiling OpenCombineFoundation Violations.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
[394/752] 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
[394/752] Compiling vpaes-x86_64-linux.S
[396/753] Compiling c-atomics.c
[398/753] Compiling vpaes-x86_64-apple.S
[400/753] Compiling vpaes-x86-apple.S
[401/753] Compiling vpaes-x86-linux.S
[402/753] Compiling vpaes-armv8-win.S
[403/753] Compiling vpaes-armv8-apple.S
[404/753] Compiling vpaes-armv8-linux.S
[405/763] Compiling vpaes-armv7-linux.S
[406/764] Compiling sha512-x86_64-linux.S
[407/771] Compiling sha512-x86_64-apple.S
[408/771] Compiling sha512-armv8-win.S
[410/771] Compiling Clocks Timer.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
[410/772] Compiling sha512-armv8-apple.S
[412/772] Compiling XCTestDynamicOverlay Exports.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
[413/772] Compiling NIOConcurrencyHelpers NIOLockedValueBox.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
[413/772] Compiling sha512-armv4-linux.S
[415/772] Emitting module XCTestDynamicOverlay
<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
[415/772] Compiling sha512-armv8-linux.S
[417/772] Compiling OpenCombineDispatch DispatchQueue+Scheduler.swift
[418/772] Emitting module OpenCombineDispatch
[418/772] Compiling sha512-586-linux.S
[419/773] Compiling sha512-586-apple.S
[421/773] Compiling Clocks ImmediateClock.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
[422/773] 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 {
[423/773] 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 {
[424/773] 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 {
[425/773] Compiling OpenCombineFoundation Timer+Publisher.swift
[425/774] Compiling sha256-x86_64-apple.S
[426/774] Compiling sha256-x86_64-linux.S
[427/774] Compiling sha256-armv8-win.S
[428/774] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[428/774] Compiling sha256-armv8-linux.S
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[429/774] Compiling OpenCombineFoundation PropertyListEncoder.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0cd0efb458d677a6de9b5e028d30e2aa1d1b247c2277202ba317a28ce9e867e0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/321] Write sources
[1/322] Compiling sha256-armv8-win.S
[1/322] Compiling sha256-armv4-linux.S
[3/322] Compiling sha256-586-linux.S
[4/322] Compiling sha256-586-apple.S
[5/322] Compiling sha1-x86_64-apple.S
[6/322] Compiling sha256-armv8-apple.S
[7/322] Compiling sha256-armv8-linux.S
[8/322] Compiling sha1-x86_64-linux.S
[9/322] Compiling sha1-armv8-apple.S
[10/322] Compiling sha1-armv4-large-linux.S
[11/322] Compiling sha1-armv8-linux.S
[12/322] Compiling sha1-586-linux.S
[13/322] Compiling sha1-586-apple.S
[14/322] Compiling rsaz-avx2-linux.S
[15/322] Compiling rsaz-avx2-apple.S
[16/322] Compiling rdrand-x86_64-linux.S
[17/322] Compiling rdrand-x86_64-apple.S
[18/322] Compiling p256_beeu-x86_64-asm-linux.S
[19/322] Compiling p256_beeu-x86_64-asm-apple.S
[20/322] Compiling p256_beeu-armv8-asm-win.S
[21/322] Compiling p256_beeu-armv8-asm-apple.S
[22/322] Compiling p256_beeu-armv8-asm-linux.S
[23/322] Compiling p256-x86_64-asm-apple.S
[24/322] Compiling p256-x86_64-asm-linux.S
[25/322] Write swift-version-24593BA9C3E375BF.txt
[26/322] Compiling sha1-armv8-win.S
[27/322] Compiling p256-armv8-asm-apple.S
[28/322] Compiling p256-armv8-asm-win.S
[29/322] Compiling ghashv8-armv8-win.S
[30/322] Compiling ghashv8-armv7-linux.S
[31/322] Compiling p256-armv8-asm-linux.S
[32/322] Compiling ghashv8-armv8-linux.S
[33/322] Compiling ghashv8-armv8-apple.S
[35/416] 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 {
[36/416] 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 {
[37/416] 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 {
[38/416] 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 {
[39/419] Compiling Html Tag.swift
[40/426] Compiling IssueReporting FailureObserver.swift
[41/426] Compiling IssueReporting LockIsolated.swift
[42/453] Compiling Html XmlRender.swift
[43/514] Compiling Html Node.swift
[44/514] Compiling OpenCombine Publishers.Delay.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 {
[45/514] Compiling OpenCombine Publishers.Drop.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 {
[46/514] Compiling OpenCombine Publishers.DropUntilOutput.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 {
[47/514] Compiling OpenCombine ConduitBase.swift
[48/514] Compiling OpenCombine ConduitList.swift
[49/514] Compiling OpenCombine DebugHook.swift
[50/514] Compiling NIOConcurrencyHelpers NIOLock.swift
[51/514] Compiling OpenCombine Publishers.Autoconnect.swift
[52/514] Compiling OpenCombine Publishers.Breakpoint.swift
[53/514] Compiling _NIODataStructures Heap.swift
[54/514] Compiling OpenCombine SubscriberTap.swift
[55/514] Compiling OpenCombine SubscriptionStatus.swift
[56/514] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[57/514] Compiling OpenCombine PublishedSubject.swift
[58/514] Compiling OpenCombine PublishedSubscriber.swift
[59/514] Compiling OpenCombine ReduceProducer.swift
[60/516] Compiling _NIODataStructures PriorityQueue.swift
[61/516] Compiling _NIODataStructures _TinyArray.swift
[62/516] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[63/516] Compiling NIOConcurrencyHelpers atomics.swift
[64/516] Compiling NIOConcurrencyHelpers lock.swift
[65/516] Emitting module _NIODataStructures
[67/517] Compiling OpenCombine SubjectSubscriber.swift
[70/517] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[71/517] Emitting module NIOConcurrencyHelpers
[72/518] Compiling OpenCombine Publishers.AllSatisfy.swift
[73/518] Compiling OpenCombine Publishers.AssertNoFailure.swift
[77/518] Compiling OpenCombine FilterProducer.swift
[78/518] Compiling OpenCombine Locking.swift
[79/518] Compiling OpenCombine Optional.Publisher.swift
[85/518] Compiling OpenCombine PartialCompletion.swift
[89/518] Compiling _NIOBase64 Base64.swift
[90/518] Emitting module _NIOBase64
/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[102/519] 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 {
[105/519] Compiling ghash-x86_64-linux.S
[110/519] Compiling OpenCombine SubscriptionTap.swift
[111/519] Compiling OpenCombine Just.swift
[115/519] Compiling OpenCombine Publishers.Buffer.swift
[116/530] Compiling IssueReporting WithExpectedIssue.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(
[117/530] Compiling IssueReporting WithIssueContext.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(
[118/530] Compiling OpenCombine Publishers.CompactMap.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(
[119/530] Compiling OpenCombine Publishers.Comparison.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/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:25:22: error: cannot find 'XCTAttachment' in scope
23 | .flatMap { [$0.patchMark] + $0.lines }
24 | .joined(separator: "\n")
25 | let attachment = XCTAttachment(
| `- error: cannot find 'XCTAttachment' in scope
26 | data: Data(failure.utf8), uniformTypeIdentifier: "public.patch-file")
27 | return (failure, [attachment])
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:63: error: cannot find type 'XCTAttachment' in scope
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: cannot find type 'XCTAttachment' in scope
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Diffing.swift:30:11: error: @escaping attribute only applies to function types
28 | toData: @escaping (_ value: Value) -> Data,
29 | fromData: @escaping (_ data: Data) -> Value,
30 | diff: @escaping (_ lhs: Value, _ rhs: Value) -> (String, [XCTAttachment])?
| `- error: @escaping attribute only applies to function types
31 | ) {
32 | self.toData = toData
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/String.swift:15:36: error: 'nil' requires a contextual type
13 | fromData: { String(decoding: $0, as: UTF8.self) }
14 | ) { old, new in
15 | guard old != new else { return nil }
| `- error: 'nil' requires a contextual type
16 | let hunks = chunk(
17 | diff: SnapshotTesting.diff(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:12: error: generic parameter 'Format' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
18 | }
19 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:17:53: error: generic parameter 'Subject' could not be inferred
15 | /// ```
16 | public static var description: Snapshotting {
17 | return SimplySnapshotting.lines.pullback(String.init(describing:))
| `- error: generic parameter 'Subject' could not be inferred
18 | }
19 | }
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<Subject>(describing instance: Subject) where Subject : CustomStringConvertible, Subject : TextOutputStreamable}
| `- note: in call to initializer
3 |
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:45:12: error: generic parameter 'Format' could not be inferred
43 | /// ```
44 | public static var dump: Snapshotting {
45 | return SimplySnapshotting.lines.pullback { snap($0) }
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/Any.swift:58:24: error: generic parameter 'Format' could not be inferred
56 | ]
57 |
58 | var snapshotting = SimplySnapshotting.lines.pullback { (data: Value) in
| |- error: generic parameter 'Format' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 | try! String(
60 | decoding: JSONSerialization.data(
/host/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting.swift:118:37: note: 'Format' declared as parameter to type 'SimplySnapshotting'
116 |
117 | /// A snapshot strategy where the type being snapshot is also a diffable type.
118 | public typealias SimplySnapshotting<Format> = Snapshotting<Format, Format>
| `- note: 'Format' declared as parameter to type 'SimplySnapshotting'
119 |
120 | extension Snapshotting where Value == Format {
[127/530] Compiling ghash-x86_64-apple.S
[128/548] Compiling ghash-x86-linux.S
[129/548] Compiling ghash-x86-apple.S
[131/548] Compiling Atomics Primitives.native.swift
[132/548] Compiling Atomics AtomicMemoryOrderings.swift
[132/548] Compiling ghash-ssse3-x86_64-linux.S
[134/548] Compiling Atomics AtomicValue.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 {
[135/548] Compiling Atomics AtomicInteger.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 {
[136/548] Compiling Atomics AtomicOptionalWrappable.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 {
[137/548] Compiling Atomics AtomicReference.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 {
[137/548] Compiling ghash-ssse3-x86_64-apple.S
[138/548] Emitting module Html
[139/548] Emitting module ConcurrencyExtras
BUILD FAILURE 6.1 android