Build Information
Failed to build ApprovalTests.Swift, reference master (822e25
), with Swift 6.1 for Linux on 25 Apr 2025 18:41:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
23 | programPath: "/Applications/DiffMerge.app/Contents/MacOS/DiffMerge",
24 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:33:9: error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
| `- error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
34 | }
35 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:39:9: error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
37 | public class ReportWithKdiff3: GenericDiffReporter {
38 | public init() {
39 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
40 | programPath: "/Applications/kdiff3.app/Contents/MacOS/kdiff3",
41 | TEXT,
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:51:9: error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
49 | public class ReportWithP4Merge: GenericDiffReporter {
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
| `- error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
52 | }
53 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:57:9: error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
55 | public class ReportWithTKDiff: GenericDiffReporter {
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
| `- error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
58 | }
59 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:63:9: error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
62 | public init() {
63 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
64 | programPath: "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code",
65 | arguments: { received, approved in
[11/39] Compiling ApprovalTests_Swift ScrubNothing.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReporterFactory.swift:2:23: warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | public enum ReporterFactory {
2 | public static var defaultReporter: () -> ApprovalFailureReporter = {
| |- warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | ReportWithDiffTool()
4 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:3:33: error: cannot find type 'GenericDiffReporter' in scope
1 |
2 | // Requires Tools->Create Command-line Launcher
3 | public class ReportWithAppCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | public init() {
5 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:14:39: error: cannot find type 'GenericDiffReporter' in scope
12 | }
13 |
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:20:35: error: cannot find type 'GenericDiffReporter' in scope
18 | }
19 |
20 | public class ReportWithDiffMerge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
21 | public init() {
22 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:31:38: error: cannot find type 'GenericDiffReporter' in scope
29 | }
30 |
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:37:32: error: cannot find type 'GenericDiffReporter' in scope
35 | }
36 |
37 | public class ReportWithKdiff3: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
38 | public init() {
39 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:49:33: error: cannot find type 'GenericDiffReporter' in scope
47 | }
48 |
49 | public class ReportWithP4Merge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:55:32: error: cannot find type 'GenericDiffReporter' in scope
53 | }
54 |
55 | public class ReportWithTKDiff: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:61:42: error: cannot find type 'GenericDiffReporter' in scope
59 | }
60 |
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
62 | public init() {
63 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:5:9: error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
3 | public class ReportWithAppCode: GenericDiffReporter {
4 | public init() {
5 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
6 | programPath: "/usr/local/bin/appcode",
7 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:16:9: error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
| `- error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
17 | }
18 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:22:9: error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
20 | public class ReportWithDiffMerge: GenericDiffReporter {
21 | public init() {
22 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
23 | programPath: "/Applications/DiffMerge.app/Contents/MacOS/DiffMerge",
24 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:33:9: error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
| `- error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
34 | }
35 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:39:9: error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
37 | public class ReportWithKdiff3: GenericDiffReporter {
38 | public init() {
39 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
40 | programPath: "/Applications/kdiff3.app/Contents/MacOS/kdiff3",
41 | TEXT,
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:51:9: error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
49 | public class ReportWithP4Merge: GenericDiffReporter {
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
| `- error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
52 | }
53 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:57:9: error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
55 | public class ReportWithTKDiff: GenericDiffReporter {
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
| `- error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
58 | }
59 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:63:9: error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
62 | public init() {
63 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
64 | programPath: "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code",
65 | arguments: { received, approved in
[12/39] Compiling ApprovalTests_Swift ScrubWithRegEx.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReporterFactory.swift:2:23: warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | public enum ReporterFactory {
2 | public static var defaultReporter: () -> ApprovalFailureReporter = {
| |- warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | ReportWithDiffTool()
4 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:3:33: error: cannot find type 'GenericDiffReporter' in scope
1 |
2 | // Requires Tools->Create Command-line Launcher
3 | public class ReportWithAppCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | public init() {
5 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:14:39: error: cannot find type 'GenericDiffReporter' in scope
12 | }
13 |
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:20:35: error: cannot find type 'GenericDiffReporter' in scope
18 | }
19 |
20 | public class ReportWithDiffMerge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
21 | public init() {
22 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:31:38: error: cannot find type 'GenericDiffReporter' in scope
29 | }
30 |
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:37:32: error: cannot find type 'GenericDiffReporter' in scope
35 | }
36 |
37 | public class ReportWithKdiff3: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
38 | public init() {
39 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:49:33: error: cannot find type 'GenericDiffReporter' in scope
47 | }
48 |
49 | public class ReportWithP4Merge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:55:32: error: cannot find type 'GenericDiffReporter' in scope
53 | }
54 |
55 | public class ReportWithTKDiff: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:61:42: error: cannot find type 'GenericDiffReporter' in scope
59 | }
60 |
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
62 | public init() {
63 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:5:9: error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
3 | public class ReportWithAppCode: GenericDiffReporter {
4 | public init() {
5 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
6 | programPath: "/usr/local/bin/appcode",
7 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:16:9: error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
| `- error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
17 | }
18 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:22:9: error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
20 | public class ReportWithDiffMerge: GenericDiffReporter {
21 | public init() {
22 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
23 | programPath: "/Applications/DiffMerge.app/Contents/MacOS/DiffMerge",
24 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:33:9: error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
| `- error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
34 | }
35 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:39:9: error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
37 | public class ReportWithKdiff3: GenericDiffReporter {
38 | public init() {
39 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
40 | programPath: "/Applications/kdiff3.app/Contents/MacOS/kdiff3",
41 | TEXT,
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:51:9: error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
49 | public class ReportWithP4Merge: GenericDiffReporter {
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
| `- error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
52 | }
53 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:57:9: error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
55 | public class ReportWithTKDiff: GenericDiffReporter {
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
| `- error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
58 | }
59 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:63:9: error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
62 | public init() {
63 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
64 | programPath: "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code",
65 | arguments: { received, approved in
[13/44] Compiling ApprovalTests_Swift FirstWorkingReporter.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:9:9: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
7 | self.createIfNeeded = createIfNeeded
8 | let parentDirectory = URL(fileURLWithPath: file).deletingLastPathComponent().path
9 | super.init(
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
10 | programPath: "\(parentDirectory)/approvals_reporter.sh"
11 | )
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:15:12: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
15 | if super.doesProgramExist(programPath) {
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
16 | return true
17 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:8:9: error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
| `- error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
9 | }
10 | }
[14/44] Compiling ApprovalTests_Swift GenericDiffReporter.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:9:9: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
7 | self.createIfNeeded = createIfNeeded
8 | let parentDirectory = URL(fileURLWithPath: file).deletingLastPathComponent().path
9 | super.init(
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
10 | programPath: "\(parentDirectory)/approvals_reporter.sh"
11 | )
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:15:12: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
15 | if super.doesProgramExist(programPath) {
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
16 | return true
17 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:8:9: error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
| `- error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
9 | }
10 | }
[15/44] Compiling ApprovalTests_Swift GenericDiffReporterBase.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:9:9: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
7 | self.createIfNeeded = createIfNeeded
8 | let parentDirectory = URL(fileURLWithPath: file).deletingLastPathComponent().path
9 | super.init(
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
10 | programPath: "\(parentDirectory)/approvals_reporter.sh"
11 | )
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:15:12: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
15 | if super.doesProgramExist(programPath) {
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
16 | return true
17 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:8:9: error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
| `- error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
9 | }
10 | }
[16/44] Compiling ApprovalTests_Swift ReportByCallingScript.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:9:9: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
7 | self.createIfNeeded = createIfNeeded
8 | let parentDirectory = URL(fileURLWithPath: file).deletingLastPathComponent().path
9 | super.init(
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
10 | programPath: "\(parentDirectory)/approvals_reporter.sh"
11 | )
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:15:12: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
15 | if super.doesProgramExist(programPath) {
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
16 | return true
17 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:8:9: error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
| `- error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
9 | }
10 | }
[17/44] Compiling ApprovalTests_Swift ReportByOpeningReceivedFile.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:9:9: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
7 | self.createIfNeeded = createIfNeeded
8 | let parentDirectory = URL(fileURLWithPath: file).deletingLastPathComponent().path
9 | super.init(
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
10 | programPath: "\(parentDirectory)/approvals_reporter.sh"
11 | )
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:15:12: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
15 | if super.doesProgramExist(programPath) {
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
16 | return true
17 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:8:9: error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
| `- error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
9 | }
10 | }
[18/44] Compiling ApprovalTests_Swift ApprovalWriter.swift
[19/44] Compiling ApprovalTests_Swift Options.swift
[20/44] Compiling ApprovalTests_Swift Scrubber.swift
[21/44] Compiling ApprovalTests_Swift Verifiable.swift
[22/44] Compiling ApprovalTests_Swift VerifyParameters.swift
[23/44] Compiling ApprovalTests_Swift ApprovalNamer.swift
[24/44] Compiling ApprovalTests_Swift Namer.swift
[25/44] Compiling ApprovalTests_Swift NamerFactory.swift
[26/44] Compiling ApprovalTests_Swift ParameterizedNamer.swift
[27/44] Compiling ApprovalTests_Swift ExecutableReporter.swift
[28/44] Compiling ApprovalTests_Swift ReportContentsWithXCTest.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:12:13: error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
10 | super.init(
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
| `- error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:13:13: error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
| `- error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:14:13: error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
| `- error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:15:13: error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
| `- error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:16:13: error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
| `- error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:17:13: error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
| `- error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:18:13: error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
| `- error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
19 | ReportWithVisualStudioCode(),
20 | ReportContentsWithXCTest()
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:19:13: error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
| `- error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
20 | ReportContentsWithXCTest()
21 | // end-snippet
[29/44] Compiling ApprovalTests_Swift ReportMoveCommandToClipboard.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:12:13: error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
10 | super.init(
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
| `- error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:13:13: error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
| `- error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:14:13: error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
| `- error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:15:13: error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
| `- error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:16:13: error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
| `- error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:17:13: error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
| `- error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:18:13: error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
| `- error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
19 | ReportWithVisualStudioCode(),
20 | ReportContentsWithXCTest()
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:19:13: error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
| `- error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
20 | ReportContentsWithXCTest()
21 | // end-snippet
[30/44] Compiling ApprovalTests_Swift ReportMoveCommandToConsole.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:12:13: error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
10 | super.init(
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
| `- error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:13:13: error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
| `- error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:14:13: error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
| `- error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:15:13: error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
| `- error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:16:13: error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
| `- error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:17:13: error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
| `- error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:18:13: error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
| `- error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
19 | ReportWithVisualStudioCode(),
20 | ReportContentsWithXCTest()
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:19:13: error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
| `- error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
20 | ReportContentsWithXCTest()
21 | // end-snippet
[31/44] Compiling ApprovalTests_Swift ReportWithDiffTool.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:12:13: error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
10 | super.init(
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
| `- error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:13:13: error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
| `- error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:14:13: error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
| `- error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:15:13: error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
| `- error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:16:13: error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
| `- error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:17:13: error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
| `- error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:18:13: error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
| `- error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
19 | ReportWithVisualStudioCode(),
20 | ReportContentsWithXCTest()
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:19:13: error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
| `- error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
20 | ReportContentsWithXCTest()
21 | // end-snippet
[32/44] Compiling ApprovalTests_Swift ReportWithEverything.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:12:13: error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
10 | super.init(
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
| `- error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:13:13: error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
| `- error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:14:13: error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
| `- error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:15:13: error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
| `- error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:16:13: error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
| `- error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:17:13: error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
| `- error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:18:13: error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
| `- error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
19 | ReportWithVisualStudioCode(),
20 | ReportContentsWithXCTest()
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:19:13: error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
| `- error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
20 | ReportContentsWithXCTest()
21 | // end-snippet
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/44] Emitting module ApprovalTests_Swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReporterFactory.swift:2:23: warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | public enum ReporterFactory {
2 | public static var defaultReporter: () -> ApprovalFailureReporter = {
| |- warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | ReportWithDiffTool()
4 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:3:33: error: cannot find type 'GenericDiffReporter' in scope
1 |
2 | // Requires Tools->Create Command-line Launcher
3 | public class ReportWithAppCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | public init() {
5 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:14:39: error: cannot find type 'GenericDiffReporter' in scope
12 | }
13 |
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:20:35: error: cannot find type 'GenericDiffReporter' in scope
18 | }
19 |
20 | public class ReportWithDiffMerge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
21 | public init() {
22 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:31:38: error: cannot find type 'GenericDiffReporter' in scope
29 | }
30 |
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:37:32: error: cannot find type 'GenericDiffReporter' in scope
35 | }
36 |
37 | public class ReportWithKdiff3: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
38 | public init() {
39 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:49:33: error: cannot find type 'GenericDiffReporter' in scope
47 | }
48 |
49 | public class ReportWithP4Merge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:55:32: error: cannot find type 'GenericDiffReporter' in scope
53 | }
54 |
55 | public class ReportWithTKDiff: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:61:42: error: cannot find type 'GenericDiffReporter' in scope
59 | }
60 |
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
62 | public init() {
63 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:28:23: warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public enum SimpleLogger {
28 | public static var timestamp = true
| |- warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:29:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public enum SimpleLogger {
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:30:23: warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
| |- warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:31:24: warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
| |- warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:32:24: warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
| |- warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:33:24: warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
| |- warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassWrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassWrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | private static var lastDate: Date?
35 |
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:34:24: warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
| |- warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastDate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastDate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func getIndentation() -> String {
[34/44] Compiling ApprovalTests_Swift Approvals.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[35/44] Compiling ApprovalTests_Swift ApprovalApprover.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[36/44] Compiling ApprovalTests_Swift FileApprover.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[37/44] Compiling ApprovalTests_Swift TestFailer.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[38/44] Compiling ApprovalTests_Swift CombinationApprovals.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[39/44] Compiling ApprovalTests_Swift ApprovalFailureReporter.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[40/44] Compiling ApprovalTests_Swift SimpleLogger.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:28:23: warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public enum SimpleLogger {
28 | public static var timestamp = true
| |- warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:29:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public enum SimpleLogger {
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:30:23: warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
| |- warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:31:24: warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
| |- warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:32:24: warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
| |- warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:33:24: warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
| |- warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassWrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassWrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | private static var lastDate: Date?
35 |
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:34:24: warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
| |- warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastDate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastDate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func getIndentation() -> String {
[41/44] Compiling ApprovalTests_Swift StringUtils.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:28:23: warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public enum SimpleLogger {
28 | public static var timestamp = true
| |- warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:29:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public enum SimpleLogger {
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:30:23: warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
| |- warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:31:24: warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
| |- warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:32:24: warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
| |- warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:33:24: warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
| |- warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassWrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassWrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | private static var lastDate: Date?
35 |
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:34:24: warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
| |- warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastDate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastDate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func getIndentation() -> String {
[42/44] Compiling ApprovalTests_Swift SystemUtils.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:28:23: warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public enum SimpleLogger {
28 | public static var timestamp = true
| |- warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:29:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public enum SimpleLogger {
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:30:23: warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
| |- warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:31:24: warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
| |- warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:32:24: warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
| |- warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:33:24: warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
| |- warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassWrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassWrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | private static var lastDate: Date?
35 |
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:34:24: warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
| |- warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastDate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastDate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func getIndentation() -> String {
[43/44] Compiling ApprovalTests_Swift ApprovalTextWriter.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:28:23: warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public enum SimpleLogger {
28 | public static var timestamp = true
| |- warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:29:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public enum SimpleLogger {
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:30:23: warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
| |- warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:31:24: warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
| |- warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:32:24: warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
| |- warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:33:24: warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
| |- warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassWrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassWrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | private static var lastDate: Date?
35 |
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:34:24: warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
| |- warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastDate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastDate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func getIndentation() -> String {
[44/44] Compiling ApprovalTests_Swift UIWriter.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:28:23: warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public enum SimpleLogger {
28 | public static var timestamp = true
| |- warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:29:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public enum SimpleLogger {
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:30:23: warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
| |- warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:31:24: warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
| |- warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:32:24: warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
| |- warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:33:24: warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
| |- warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassWrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassWrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | private static var lastDate: Date?
35 |
/host/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:34:24: warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
| |- warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastDate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastDate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func getIndentation() -> String {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/38] Compiling ApprovalTests_Swift ReportContentsWithXCTest.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:12:13: error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
10 | super.init(
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
| `- error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:13:13: error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
| `- error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:14:13: error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
| `- error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:15:13: error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
| `- error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:16:13: error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
| `- error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:17:13: error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
| `- error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:18:13: error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
| `- error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
19 | ReportWithVisualStudioCode(),
20 | ReportContentsWithXCTest()
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:19:13: error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
| `- error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
20 | ReportContentsWithXCTest()
21 | // end-snippet
[3/38] Compiling ApprovalTests_Swift ReportMoveCommandToClipboard.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:12:13: error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
10 | super.init(
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
| `- error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:13:13: error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
| `- error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:14:13: error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
| `- error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:15:13: error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
| `- error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:16:13: error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
| `- error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:17:13: error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
| `- error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:18:13: error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
| `- error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
19 | ReportWithVisualStudioCode(),
20 | ReportContentsWithXCTest()
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:19:13: error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
| `- error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
20 | ReportContentsWithXCTest()
21 | // end-snippet
[4/38] Compiling ApprovalTests_Swift ReportMoveCommandToConsole.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:12:13: error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
10 | super.init(
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
| `- error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:13:13: error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
| `- error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:14:13: error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
| `- error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:15:13: error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
| `- error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:16:13: error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
| `- error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:17:13: error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
| `- error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:18:13: error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
| `- error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
19 | ReportWithVisualStudioCode(),
20 | ReportContentsWithXCTest()
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:19:13: error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
| `- error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
20 | ReportContentsWithXCTest()
21 | // end-snippet
[5/38] Compiling ApprovalTests_Swift ReportWithDiffTool.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:12:13: error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
10 | super.init(
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
| `- error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:13:13: error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
| `- error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:14:13: error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
| `- error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:15:13: error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
| `- error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:16:13: error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
| `- error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:17:13: error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
| `- error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:18:13: error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
| `- error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
19 | ReportWithVisualStudioCode(),
20 | ReportContentsWithXCTest()
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:19:13: error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
| `- error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
20 | ReportContentsWithXCTest()
21 | // end-snippet
[6/38] Compiling ApprovalTests_Swift ReportWithEverything.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:12:13: error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
10 | super.init(
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
| `- error: cannot convert value of type 'ReportWithBeyondCompare' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:13:13: error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
11 | // begin-snippet: reporters
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
| `- error: cannot convert value of type 'ReportWithAppCode' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:14:13: error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
12 | ReportWithBeyondCompare(),
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
| `- error: cannot convert value of type 'ReportWithDiffMerge' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:15:13: error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
13 | ReportWithAppCode(),
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
| `- error: cannot convert value of type 'ReportWithKaleidoscope' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:16:13: error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
14 | ReportWithDiffMerge(),
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
| `- error: cannot convert value of type 'ReportWithP4Merge' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:17:13: error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
15 | ReportWithKaleidoscope(),
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
| `- error: cannot convert value of type 'ReportWithKdiff3' to expected argument type 'EquatableFailureReporter'
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:18:13: error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
16 | ReportWithP4Merge(),
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
| `- error: cannot convert value of type 'ReportWithTKDiff' to expected argument type 'EquatableFailureReporter'
19 | ReportWithVisualStudioCode(),
20 | ReportContentsWithXCTest()
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportWithDiffTool.swift:19:13: error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
17 | ReportWithKdiff3(),
18 | ReportWithTKDiff(),
19 | ReportWithVisualStudioCode(),
| `- error: cannot convert value of type 'ReportWithVisualStudioCode' to expected argument type 'EquatableFailureReporter'
20 | ReportContentsWithXCTest()
21 | // end-snippet
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/43] Emitting module ApprovalTests_Swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:3:33: error: cannot find type 'GenericDiffReporter' in scope
1 |
2 | // Requires Tools->Create Command-line Launcher
3 | public class ReportWithAppCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | public init() {
5 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:14:39: error: cannot find type 'GenericDiffReporter' in scope
12 | }
13 |
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:20:35: error: cannot find type 'GenericDiffReporter' in scope
18 | }
19 |
20 | public class ReportWithDiffMerge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
21 | public init() {
22 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:31:38: error: cannot find type 'GenericDiffReporter' in scope
29 | }
30 |
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:37:32: error: cannot find type 'GenericDiffReporter' in scope
35 | }
36 |
37 | public class ReportWithKdiff3: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
38 | public init() {
39 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:49:33: error: cannot find type 'GenericDiffReporter' in scope
47 | }
48 |
49 | public class ReportWithP4Merge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:55:32: error: cannot find type 'GenericDiffReporter' in scope
53 | }
54 |
55 | public class ReportWithTKDiff: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:61:42: error: cannot find type 'GenericDiffReporter' in scope
59 | }
60 |
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
62 | public init() {
63 | super.init(
[8/43] Compiling ApprovalTests_Swift ReporterFactory.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:3:33: error: cannot find type 'GenericDiffReporter' in scope
1 |
2 | // Requires Tools->Create Command-line Launcher
3 | public class ReportWithAppCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | public init() {
5 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:14:39: error: cannot find type 'GenericDiffReporter' in scope
12 | }
13 |
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:20:35: error: cannot find type 'GenericDiffReporter' in scope
18 | }
19 |
20 | public class ReportWithDiffMerge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
21 | public init() {
22 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:31:38: error: cannot find type 'GenericDiffReporter' in scope
29 | }
30 |
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:37:32: error: cannot find type 'GenericDiffReporter' in scope
35 | }
36 |
37 | public class ReportWithKdiff3: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
38 | public init() {
39 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:49:33: error: cannot find type 'GenericDiffReporter' in scope
47 | }
48 |
49 | public class ReportWithP4Merge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:55:32: error: cannot find type 'GenericDiffReporter' in scope
53 | }
54 |
55 | public class ReportWithTKDiff: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:61:42: error: cannot find type 'GenericDiffReporter' in scope
59 | }
60 |
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
62 | public init() {
63 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:5:9: error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
3 | public class ReportWithAppCode: GenericDiffReporter {
4 | public init() {
5 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
6 | programPath: "/usr/local/bin/appcode",
7 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:16:9: error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
| `- error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
17 | }
18 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:22:9: error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
20 | public class ReportWithDiffMerge: GenericDiffReporter {
21 | public init() {
22 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
23 | programPath: "/Applications/DiffMerge.app/Contents/MacOS/DiffMerge",
24 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:33:9: error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
| `- error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
34 | }
35 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:39:9: error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
37 | public class ReportWithKdiff3: GenericDiffReporter {
38 | public init() {
39 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
40 | programPath: "/Applications/kdiff3.app/Contents/MacOS/kdiff3",
41 | TEXT,
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:51:9: error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
49 | public class ReportWithP4Merge: GenericDiffReporter {
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
| `- error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
52 | }
53 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:57:9: error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
55 | public class ReportWithTKDiff: GenericDiffReporter {
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
| `- error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
58 | }
59 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:63:9: error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
62 | public init() {
63 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
64 | programPath: "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code",
65 | arguments: { received, approved in
[9/43] Compiling ApprovalTests_Swift VariousReporters.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:3:33: error: cannot find type 'GenericDiffReporter' in scope
1 |
2 | // Requires Tools->Create Command-line Launcher
3 | public class ReportWithAppCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | public init() {
5 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:14:39: error: cannot find type 'GenericDiffReporter' in scope
12 | }
13 |
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:20:35: error: cannot find type 'GenericDiffReporter' in scope
18 | }
19 |
20 | public class ReportWithDiffMerge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
21 | public init() {
22 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:31:38: error: cannot find type 'GenericDiffReporter' in scope
29 | }
30 |
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:37:32: error: cannot find type 'GenericDiffReporter' in scope
35 | }
36 |
37 | public class ReportWithKdiff3: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
38 | public init() {
39 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:49:33: error: cannot find type 'GenericDiffReporter' in scope
47 | }
48 |
49 | public class ReportWithP4Merge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:55:32: error: cannot find type 'GenericDiffReporter' in scope
53 | }
54 |
55 | public class ReportWithTKDiff: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:61:42: error: cannot find type 'GenericDiffReporter' in scope
59 | }
60 |
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
62 | public init() {
63 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:5:9: error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
3 | public class ReportWithAppCode: GenericDiffReporter {
4 | public init() {
5 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
6 | programPath: "/usr/local/bin/appcode",
7 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:16:9: error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
| `- error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
17 | }
18 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:22:9: error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
20 | public class ReportWithDiffMerge: GenericDiffReporter {
21 | public init() {
22 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
23 | programPath: "/Applications/DiffMerge.app/Contents/MacOS/DiffMerge",
24 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:33:9: error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
| `- error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
34 | }
35 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:39:9: error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
37 | public class ReportWithKdiff3: GenericDiffReporter {
38 | public init() {
39 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
40 | programPath: "/Applications/kdiff3.app/Contents/MacOS/kdiff3",
41 | TEXT,
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:51:9: error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
49 | public class ReportWithP4Merge: GenericDiffReporter {
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
| `- error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
52 | }
53 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:57:9: error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
55 | public class ReportWithTKDiff: GenericDiffReporter {
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
| `- error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
58 | }
59 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:63:9: error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
62 | public init() {
63 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
64 | programPath: "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code",
65 | arguments: { received, approved in
[10/43] Compiling ApprovalTests_Swift ScrubDates.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:3:33: error: cannot find type 'GenericDiffReporter' in scope
1 |
2 | // Requires Tools->Create Command-line Launcher
3 | public class ReportWithAppCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | public init() {
5 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:14:39: error: cannot find type 'GenericDiffReporter' in scope
12 | }
13 |
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:20:35: error: cannot find type 'GenericDiffReporter' in scope
18 | }
19 |
20 | public class ReportWithDiffMerge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
21 | public init() {
22 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:31:38: error: cannot find type 'GenericDiffReporter' in scope
29 | }
30 |
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:37:32: error: cannot find type 'GenericDiffReporter' in scope
35 | }
36 |
37 | public class ReportWithKdiff3: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
38 | public init() {
39 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:49:33: error: cannot find type 'GenericDiffReporter' in scope
47 | }
48 |
49 | public class ReportWithP4Merge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:55:32: error: cannot find type 'GenericDiffReporter' in scope
53 | }
54 |
55 | public class ReportWithTKDiff: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:61:42: error: cannot find type 'GenericDiffReporter' in scope
59 | }
60 |
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
62 | public init() {
63 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:5:9: error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
3 | public class ReportWithAppCode: GenericDiffReporter {
4 | public init() {
5 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
6 | programPath: "/usr/local/bin/appcode",
7 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:16:9: error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
| `- error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
17 | }
18 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:22:9: error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
20 | public class ReportWithDiffMerge: GenericDiffReporter {
21 | public init() {
22 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
23 | programPath: "/Applications/DiffMerge.app/Contents/MacOS/DiffMerge",
24 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:33:9: error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
| `- error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
34 | }
35 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:39:9: error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
37 | public class ReportWithKdiff3: GenericDiffReporter {
38 | public init() {
39 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
40 | programPath: "/Applications/kdiff3.app/Contents/MacOS/kdiff3",
41 | TEXT,
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:51:9: error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
49 | public class ReportWithP4Merge: GenericDiffReporter {
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
| `- error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
52 | }
53 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:57:9: error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
55 | public class ReportWithTKDiff: GenericDiffReporter {
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
| `- error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
58 | }
59 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:63:9: error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
62 | public init() {
63 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
64 | programPath: "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code",
65 | arguments: { received, approved in
[11/43] Compiling ApprovalTests_Swift ScrubNothing.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:3:33: error: cannot find type 'GenericDiffReporter' in scope
1 |
2 | // Requires Tools->Create Command-line Launcher
3 | public class ReportWithAppCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | public init() {
5 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:14:39: error: cannot find type 'GenericDiffReporter' in scope
12 | }
13 |
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:20:35: error: cannot find type 'GenericDiffReporter' in scope
18 | }
19 |
20 | public class ReportWithDiffMerge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
21 | public init() {
22 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:31:38: error: cannot find type 'GenericDiffReporter' in scope
29 | }
30 |
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:37:32: error: cannot find type 'GenericDiffReporter' in scope
35 | }
36 |
37 | public class ReportWithKdiff3: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
38 | public init() {
39 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:49:33: error: cannot find type 'GenericDiffReporter' in scope
47 | }
48 |
49 | public class ReportWithP4Merge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:55:32: error: cannot find type 'GenericDiffReporter' in scope
53 | }
54 |
55 | public class ReportWithTKDiff: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:61:42: error: cannot find type 'GenericDiffReporter' in scope
59 | }
60 |
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
62 | public init() {
63 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:5:9: error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
3 | public class ReportWithAppCode: GenericDiffReporter {
4 | public init() {
5 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
6 | programPath: "/usr/local/bin/appcode",
7 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:16:9: error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
| `- error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
17 | }
18 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:22:9: error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
20 | public class ReportWithDiffMerge: GenericDiffReporter {
21 | public init() {
22 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
23 | programPath: "/Applications/DiffMerge.app/Contents/MacOS/DiffMerge",
24 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:33:9: error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
| `- error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
34 | }
35 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:39:9: error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
37 | public class ReportWithKdiff3: GenericDiffReporter {
38 | public init() {
39 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
40 | programPath: "/Applications/kdiff3.app/Contents/MacOS/kdiff3",
41 | TEXT,
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:51:9: error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
49 | public class ReportWithP4Merge: GenericDiffReporter {
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
| `- error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
52 | }
53 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:57:9: error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
55 | public class ReportWithTKDiff: GenericDiffReporter {
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
| `- error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
58 | }
59 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:63:9: error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
62 | public init() {
63 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
64 | programPath: "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code",
65 | arguments: { received, approved in
[12/43] Compiling ApprovalTests_Swift ScrubWithRegEx.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:3:33: error: cannot find type 'GenericDiffReporter' in scope
1 |
2 | // Requires Tools->Create Command-line Launcher
3 | public class ReportWithAppCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | public init() {
5 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:14:39: error: cannot find type 'GenericDiffReporter' in scope
12 | }
13 |
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:20:35: error: cannot find type 'GenericDiffReporter' in scope
18 | }
19 |
20 | public class ReportWithDiffMerge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
21 | public init() {
22 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:31:38: error: cannot find type 'GenericDiffReporter' in scope
29 | }
30 |
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:37:32: error: cannot find type 'GenericDiffReporter' in scope
35 | }
36 |
37 | public class ReportWithKdiff3: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
38 | public init() {
39 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:49:33: error: cannot find type 'GenericDiffReporter' in scope
47 | }
48 |
49 | public class ReportWithP4Merge: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:55:32: error: cannot find type 'GenericDiffReporter' in scope
53 | }
54 |
55 | public class ReportWithTKDiff: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:61:42: error: cannot find type 'GenericDiffReporter' in scope
59 | }
60 |
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
62 | public init() {
63 | super.init(
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:5:9: error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
3 | public class ReportWithAppCode: GenericDiffReporter {
4 | public init() {
5 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithAppCode' because it has no superclass
6 | programPath: "/usr/local/bin/appcode",
7 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:16:9: error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
14 | public class ReportWithBeyondCompare: GenericDiffReporter {
15 | public init() {
16 | super.init(programPath: "/Applications/Beyond Compare.app/Contents/MacOS/bcomp")
| `- error: 'super' cannot be used in class 'ReportWithBeyondCompare' because it has no superclass
17 | }
18 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:22:9: error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
20 | public class ReportWithDiffMerge: GenericDiffReporter {
21 | public init() {
22 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithDiffMerge' because it has no superclass
23 | programPath: "/Applications/DiffMerge.app/Contents/MacOS/DiffMerge",
24 | arguments: { received, approved in
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:33:9: error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
31 | public class ReportWithKaleidoscope: GenericDiffReporter {
32 | public init() {
33 | super.init(programPath: "/usr/local/bin/ksdiff", TEXT_AND_IMAGES)
| `- error: 'super' cannot be used in class 'ReportWithKaleidoscope' because it has no superclass
34 | }
35 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:39:9: error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
37 | public class ReportWithKdiff3: GenericDiffReporter {
38 | public init() {
39 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithKdiff3' because it has no superclass
40 | programPath: "/Applications/kdiff3.app/Contents/MacOS/kdiff3",
41 | TEXT,
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:51:9: error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
49 | public class ReportWithP4Merge: GenericDiffReporter {
50 | public init() {
51 | super.init(programPath: "/Applications/p4merge.app/Contents/MacOS/p4merge")
| `- error: 'super' cannot be used in class 'ReportWithP4Merge' because it has no superclass
52 | }
53 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:57:9: error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
55 | public class ReportWithTKDiff: GenericDiffReporter {
56 | public init() {
57 | super.init(programPath: "/Applications/TkDiff.app/Contents/MacOS/tkdiff")
| `- error: 'super' cannot be used in class 'ReportWithTKDiff' because it has no superclass
58 | }
59 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/VariousReporters.swift:63:9: error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
61 | public class ReportWithVisualStudioCode: GenericDiffReporter {
62 | public init() {
63 | super.init(
| `- error: 'super' cannot be used in class 'ReportWithVisualStudioCode' because it has no superclass
64 | programPath: "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code",
65 | arguments: { received, approved in
[13/43] Compiling ApprovalTests_Swift ApprovalWriter.swift
[14/43] Compiling ApprovalTests_Swift Options.swift
[15/43] Compiling ApprovalTests_Swift Scrubber.swift
[16/43] Compiling ApprovalTests_Swift Verifiable.swift
[17/43] Compiling ApprovalTests_Swift VerifyParameters.swift
[18/43] Compiling ApprovalTests_Swift ScrubWithRegExWithReplacementAliasing.swift
[19/43] Compiling ApprovalTests_Swift UIKitApprovals.swift
[20/43] Compiling ApprovalTests_Swift ExecutableQuery.swift
[21/43] Compiling ApprovalTests_Swift HelpMessages.swift
[22/43] Compiling ApprovalTests_Swift NetUtils.swift
[23/43] Compiling ApprovalTests_Swift FirstWorkingReporter.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:9:9: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
7 | self.createIfNeeded = createIfNeeded
8 | let parentDirectory = URL(fileURLWithPath: file).deletingLastPathComponent().path
9 | super.init(
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
10 | programPath: "\(parentDirectory)/approvals_reporter.sh"
11 | )
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:15:12: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
15 | if super.doesProgramExist(programPath) {
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
16 | return true
17 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:8:9: error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
| `- error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
9 | }
10 | }
[24/43] Compiling ApprovalTests_Swift GenericDiffReporter.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:9:9: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
7 | self.createIfNeeded = createIfNeeded
8 | let parentDirectory = URL(fileURLWithPath: file).deletingLastPathComponent().path
9 | super.init(
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
10 | programPath: "\(parentDirectory)/approvals_reporter.sh"
11 | )
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:15:12: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
15 | if super.doesProgramExist(programPath) {
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
16 | return true
17 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:8:9: error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
| `- error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
9 | }
10 | }
[25/43] Compiling ApprovalTests_Swift GenericDiffReporterBase.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:9:9: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
7 | self.createIfNeeded = createIfNeeded
8 | let parentDirectory = URL(fileURLWithPath: file).deletingLastPathComponent().path
9 | super.init(
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
10 | programPath: "\(parentDirectory)/approvals_reporter.sh"
11 | )
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:15:12: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
15 | if super.doesProgramExist(programPath) {
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
16 | return true
17 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:8:9: error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
| `- error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
9 | }
10 | }
[26/43] Compiling ApprovalTests_Swift ReportByCallingScript.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:9:9: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
7 | self.createIfNeeded = createIfNeeded
8 | let parentDirectory = URL(fileURLWithPath: file).deletingLastPathComponent().path
9 | super.init(
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
10 | programPath: "\(parentDirectory)/approvals_reporter.sh"
11 | )
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:15:12: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
15 | if super.doesProgramExist(programPath) {
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
16 | return true
17 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:8:9: error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
| `- error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
9 | }
10 | }
[27/43] Compiling ApprovalTests_Swift ReportByOpeningReceivedFile.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:14:26: error: method does not override any method from its superclass
12 | }
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
| `- error: method does not override any method from its superclass
15 | if super.doesProgramExist(programPath) {
16 | return true
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:3:37: error: cannot find type 'GenericDiffReporter' in scope
1 | import Foundation
2 |
3 | public class ReportByCallingScript: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
4 | private let createIfNeeded: Bool
5 |
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:9:9: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
7 | self.createIfNeeded = createIfNeeded
8 | let parentDirectory = URL(fileURLWithPath: file).deletingLastPathComponent().path
9 | super.init(
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
10 | programPath: "\(parentDirectory)/approvals_reporter.sh"
11 | )
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByCallingScript.swift:15:12: error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
13 |
14 | override public func doesProgramExist(_ programPath: String) -> Bool {
15 | if super.doesProgramExist(programPath) {
| `- error: 'super' cannot be used in class 'ReportByCallingScript' because it has no superclass
16 | return true
17 | }
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:6:43: error: cannot find type 'GenericDiffReporter' in scope
4 | Depending on the file viewer being launched, the test suite execution may halt until the user has closed the new process.
5 | */
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
| `- error: cannot find type 'GenericDiffReporter' in scope
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
/host/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReportByOpeningReceivedFile.swift:8:9: error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
6 | public class ReportByOpeningReceivedFile: GenericDiffReporter {
7 | public init() {
8 | super.init(programPath: "/usr/bin/open", arguments: { received, _ in [received] })
| `- error: 'super' cannot be used in class 'ReportByOpeningReceivedFile' because it has no superclass
9 | }
10 | }
[28/43] Compiling ApprovalTests_Swift ApprovalNamer.swift
[29/43] Compiling ApprovalTests_Swift Namer.swift
[30/43] Compiling ApprovalTests_Swift NamerFactory.swift
[31/43] Compiling ApprovalTests_Swift ParameterizedNamer.swift
[32/43] Compiling ApprovalTests_Swift ExecutableReporter.swift
[33/43] Compiling ApprovalTests_Swift Approvals.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[34/43] Compiling ApprovalTests_Swift ApprovalApprover.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[35/43] Compiling ApprovalTests_Swift FileApprover.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[36/43] Compiling ApprovalTests_Swift TestFailer.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[37/43] Compiling ApprovalTests_Swift CombinationApprovals.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[38/43] Compiling ApprovalTests_Swift ApprovalFailureReporter.swift
/host/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:34:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
32 | guard fileManager.fileExists(atPath: actual) else { return false }
33 | if !fileManager.fileExists(atPath: expected) {
34 | fileManager.createFile(atPath: expected, contents: Data())
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
35 | }
36 |
[39/43] Compiling ApprovalTests_Swift SimpleLogger.swift
[40/43] Compiling ApprovalTests_Swift StringUtils.swift
[41/43] Compiling ApprovalTests_Swift SystemUtils.swift
[42/43] Compiling ApprovalTests_Swift ApprovalTextWriter.swift
[43/43] Compiling ApprovalTests_Swift UIWriter.swift
BUILD FAILURE 6.1 linux