Build Information
Failed to build PlaygroundTester, reference 0.3.1 (1444c7), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 08:08:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
24 | .toolbar {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:25:9: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
23 | .navigationTitle(title)
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:25:9: error: 'ToolbarItem' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
23 | .navigationTitle(title)
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:25:9: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
23 | .navigationTitle(title)
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:25:33: error: 'navigationBarTrailing' is unavailable in macOS
23 | .navigationTitle(title)
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
| `- error: 'navigationBarTrailing' is unavailable in macOS
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
SwiftUI.ToolbarItemPlacement.navigationBarTrailing:7:21: note: 'navigationBarTrailing' has been explicitly marked unavailable here
5 | @available(watchOS, unavailable)
6 | @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use topBarTrailing instead")
7 | public static let navigationBarTrailing: ToolbarItemPlacement}
| `- note: 'navigationBarTrailing' has been explicitly marked unavailable here
8 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:26:39: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | ResultsToggleButton(isToggled: $failuresOnly)
28 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:28:11: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
28 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:25:56: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
23 | .navigationTitle(title)
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:24:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
24 | .toolbar {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
[25/29] Compiling PlaygroundTester TestSuitesView.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:11:25: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:12:5: error: 'VStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | HStack(spacing: 10) {
14 | Text(name)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:7: error: 'HStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:14:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | Spacer()
16 | if failedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:14:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | Spacer()
16 | if failedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:15:9: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:15:9: error: 'Spacer' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:17:11: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
15 | Spacer()
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:17:11: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
15 | Spacer()
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:18:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | Text("\(failedTests)")
20 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:18:31: error: 'red' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | Text("\(failedTests)")
20 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:19:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | if passedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:19:11: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | }
21 | if passedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:16:28: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
16 | if failedTests > 0 {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:16:28: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
16 | if failedTests > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:20:9: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
20 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:22:11: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
20 | }
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:22:11: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
20 | }
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:23:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Text("\(passedTests)")
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:23:31: error: 'green' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Text("\(passedTests)")
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:24:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:24:11: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:21:28: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
19 | Text("\(failedTests)")
20 | }
21 | if passedTests > 0 {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:21:28: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
19 | Text("\(failedTests)")
20 | }
21 | if passedTests > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:25:9: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
25 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:10:4: error: 'State' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
8 | let title: String
9 |
10 | @State private(set) var failuresOnly = false
| `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 | var body: some View {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:12:18: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:13:5: error: 'NavigationView' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
| |- error: 'NavigationView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:13:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:13:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:13:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:15:7: error: 'List' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
| |- error: 'List' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | NavigationLink {
17 | TestMethodsView(methods: suite.methods, title: suite.name, failuresOnly: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:15:7: error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
| |- error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | NavigationLink {
17 | TestMethodsView(methods: suite.methods, title: suite.name, failuresOnly: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:16:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
16 | NavigationLink {
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | TestMethodsView(methods: suite.methods, title: suite.name, failuresOnly: $failuresOnly)
18 | } label: {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:22:8: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
20 | }
21 | }
22 | .navigationBarTitleDisplayMode(.inline)
| `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
23 | .navigationTitle(title)
24 | .toolbar {
SwiftUI.View.navigationBarTitleDisplayMode:2:25: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
| `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:23:8: error: 'navigationTitle' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
21 | }
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:24:8: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
24 | .toolbar {
| |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:24:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
24 | .toolbar {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:24:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
24 | .toolbar {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:25:9: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
23 | .navigationTitle(title)
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:25:9: error: 'ToolbarItem' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
23 | .navigationTitle(title)
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:25:9: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
23 | .navigationTitle(title)
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:25:33: error: 'navigationBarTrailing' is unavailable in macOS
23 | .navigationTitle(title)
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
| `- error: 'navigationBarTrailing' is unavailable in macOS
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
SwiftUI.ToolbarItemPlacement.navigationBarTrailing:7:21: note: 'navigationBarTrailing' has been explicitly marked unavailable here
5 | @available(watchOS, unavailable)
6 | @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use topBarTrailing instead")
7 | public static let navigationBarTrailing: ToolbarItemPlacement}
| `- note: 'navigationBarTrailing' has been explicitly marked unavailable here
8 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:26:39: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | ResultsToggleButton(isToggled: $failuresOnly)
28 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:28:11: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
28 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:25:56: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
23 | .navigationTitle(title)
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
26 | if results.isEmpty == false {
27 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:24:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
24 | .toolbar {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
[26/29] Compiling PlaygroundTester ResultsToggleButton.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:4:4: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
5 |
6 | var body: some View {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:6:18: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:7:5: error: 'Button' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
8 | isToggled.toggle()
9 | }) {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:8:7: error: cannot pass as inout because setter for 'isToggled' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
| |- error: cannot pass as inout because setter for 'isToggled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | }) {
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:11:35: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
9 | }) {
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Image(systemName: imageName)
13 | .tint(tintColor)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:11:41: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
9 | }) {
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Image(systemName: imageName)
13 | .tint(tintColor)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:11:47: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
9 | }) {
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Image(systemName: imageName)
13 | .tint(tintColor)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:11:53: error: 'gray' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
9 | }) {
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Image(systemName: imageName)
13 | .tint(tintColor)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:12:7: error: 'Image' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
:
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
12 | Image(systemName: imageName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .tint(tintColor)
14 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:12:7: error: 'init(systemName:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
:
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
12 | Image(systemName: imageName)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
13 | .tint(tintColor)
14 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:13:10: error: 'tint' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
:
11 | let tintColor = isToggled ? Color.red : Color.gray
12 | Image(systemName: imageName)
13 | .tint(tintColor)
| |- error: 'tint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
14 | }
15 | }
[27/29] Compiling PlaygroundTester TestCase.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:4:4: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
5 |
6 | var body: some View {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:6:18: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:7:5: error: 'Button' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
8 | isToggled.toggle()
9 | }) {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:8:7: error: cannot pass as inout because setter for 'isToggled' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
| |- error: cannot pass as inout because setter for 'isToggled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | }) {
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:11:35: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
9 | }) {
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Image(systemName: imageName)
13 | .tint(tintColor)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:11:41: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
9 | }) {
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Image(systemName: imageName)
13 | .tint(tintColor)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:11:47: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
9 | }) {
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Image(systemName: imageName)
13 | .tint(tintColor)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:11:53: error: 'gray' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
9 | }) {
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Image(systemName: imageName)
13 | .tint(tintColor)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:12:7: error: 'Image' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
:
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
12 | Image(systemName: imageName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .tint(tintColor)
14 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:12:7: error: 'init(systemName:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
:
10 | let imageName = isToggled ? "xmark.octagon.fill" : "xmark.octagon"
11 | let tintColor = isToggled ? Color.red : Color.gray
12 | Image(systemName: imageName)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
13 | .tint(tintColor)
14 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/ResultsToggleButton.swift:13:10: error: 'tint' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct ResultsToggleButton: View {
| `- note: add '@available' attribute to enclosing struct
4 | @Binding private(set) var isToggled: Bool
5 |
6 | var body: some View {
| `- note: add '@available' attribute to enclosing property
7 | Button(action: {
8 | isToggled.toggle()
:
11 | let tintColor = isToggled ? Color.red : Color.gray
12 | Image(systemName: imageName)
13 | .tint(tintColor)
| |- error: 'tint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
14 | }
15 | }
[28/29] Compiling PlaygroundTester TestViewViewModel.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestViewViewModel.swift:25:4: error: 'Published' is only available in macOS 10.15 or newer
12 | }
13 |
14 | final class TestViewViewModel: ObservableObject {
| `- note: add '@available' attribute to enclosing class
15 |
16 | enum State {
:
23 | var results = ResultViewModel(suites: [])
24 |
25 | @Published var state: State = .searchingForTests
| `- error: 'Published' is only available in macOS 10.15 or newer
26 | var totalClasses: Int = 0
27 | var totalTests: Int = 0
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestViewViewModel.swift:14:32: error: 'ObservableObject' is only available in macOS 10.15 or newer
12 | }
13 |
14 | final class TestViewViewModel: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing class
15 |
16 | enum State {
<unknown>:0: error: cannot convert value of type 'KeyPath<TestViewViewModel, TestViewViewModel.State>' to expected argument type 'ReferenceWritableKeyPath<TestViewViewModel, TestViewViewModel.State>'
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestViewViewModel.swift:45:7: error: setter for 'state' is only available in macOS 10.15 or newer
12 | }
13 |
14 | final class TestViewViewModel: ObservableObject {
| `- note: add '@available' attribute to enclosing class
15 |
16 | enum State {
:
35 | }
36 |
37 | func start() {
| `- note: add '@available' attribute to enclosing instance method
38 | self.results = runner.gatherResults()
39 | self.runner.findTests { [weak self] in
:
43 | self.totalTests = self.runner.totalMethods
44 |
45 | self.state = .executing(finished: 0, success: 0, failure: 0)
| |- error: setter for 'state' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 |
47 | self.startExecuting()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestViewViewModel.swift:61:7: error: setter for 'state' is only available in macOS 10.15 or newer
12 | }
13 |
14 | final class TestViewViewModel: ObservableObject {
| `- note: add '@available' attribute to enclosing class
15 |
16 | enum State {
:
49 | }
50 |
51 | private func startExecuting() {
| `- note: add '@available' attribute to enclosing instance method
52 | self.runner.executeAllTests { [weak self] result in
53 | guard let self = self else { return }
:
59 | }
60 |
61 | self.state = .executing(finished: self.finished, success: self.success, failure: self.failure)
| |- error: setter for 'state' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | } completion: { [weak self] in
63 | guard let self = self else { return }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestViewViewModel.swift:66:7: error: setter for 'state' is only available in macOS 10.15 or newer
12 | }
13 |
14 | final class TestViewViewModel: ObservableObject {
| `- note: add '@available' attribute to enclosing class
15 |
16 | enum State {
:
49 | }
50 |
51 | private func startExecuting() {
| `- note: add '@available' attribute to enclosing instance method
52 | self.runner.executeAllTests { [weak self] result in
53 | guard let self = self else { return }
:
64 |
65 | self.results = self.runner.gatherResults()
66 | self.state = .done
| |- error: setter for 'state' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:7:4: error: 'StateObject' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
8 |
9 | @State var showingResults = false
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:9:4: error: 'State' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
8 |
9 | @State var showingResults = false
| `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 | public var body: some View {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:11:25: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
12 | Group {
13 | if self.showingResults {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:21:33: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:12:5: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
| |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
13 | if self.showingResults {
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:12:5: error: 'Group' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | if self.showingResults {
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:12:5: error: 'init(content:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | if self.showingResults {
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:13:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
13 | if self.showingResults {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
15 | } else {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:15:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
13 | if self.showingResults {
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
15 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | self.testingView
17 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:12:11: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
13 | if self.showingResults {
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:11:30: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| | |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing property
12 | Group {
13 | if self.showingResults {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:22:5: error: 'VStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | switch viewModel.state {
24 | case .searchingForTests:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:22:5: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
23 | switch viewModel.state {
24 | case .searchingForTests:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:25:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
26 | ProgressView().progressViewStyle(.circular)
27 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:25:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | ProgressView().progressViewStyle(.circular)
27 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:26:9: error: 'ProgressView' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
26 | ProgressView().progressViewStyle(.circular)
| |- error: 'ProgressView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 |
28 | case let .executing(finished, success, failure):
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:26:9: error: 'init()' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
26 | ProgressView().progressViewStyle(.circular)
| |- error: 'init()' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 |
28 | case let .executing(finished, success, failure):
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:26:24: error: 'progressViewStyle' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
26 | ProgressView().progressViewStyle(.circular)
| |- error: 'progressViewStyle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 |
28 | case let .executing(finished, success, failure):
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:26:43: error: 'circular' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
26 | ProgressView().progressViewStyle(.circular)
| |- error: 'circular' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 |
28 | case let .executing(finished, success, failure):
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:25:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
26 | ProgressView().progressViewStyle(.circular)
27 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:25:9: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | ProgressView().progressViewStyle(.circular)
27 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:25:9: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | ProgressView().progressViewStyle(.circular)
27 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:30:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:30:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:31:9: error: 'ProgressView' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
| |- error: 'ProgressView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:31:9: error: 'init()' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
| |- error: 'init()' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:31:24: error: 'progressViewStyle' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
| |- error: 'progressViewStyle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:31:43: error: 'circular' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
| |- error: 'circular' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:32:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
33 | HStack {
34 | if failure > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:32:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | HStack {
34 | if failure > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:33:9: error: 'HStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:35:13: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
33 | HStack {
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .foregroundColor(.red)
37 | Text("\(failure)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:35:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
33 | HStack {
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
36 | .foregroundColor(.red)
37 | Text("\(failure)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:36:16: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | Text("\(failure)")
38 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:36:33: error: 'red' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | Text("\(failure)")
38 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:37:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
37 | Text("\(failure)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
38 | }
39 | if success > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:37:13: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
37 | Text("\(failure)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | }
39 | if success > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:34:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
34 | if failure > 0 {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:34:26: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
34 | if failure > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:38:11: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
36 | .foregroundColor(.red)
37 | Text("\(failure)")
38 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | if success > 0 {
40 | Image(systemName: "checkmark.circle.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:40:13: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
38 | }
39 | if success > 0 {
40 | Image(systemName: "checkmark.circle.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .foregroundColor(.green)
42 | Text("\(success)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:40:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
38 | }
39 | if success > 0 {
40 | Image(systemName: "checkmark.circle.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
41 | .foregroundColor(.green)
42 | Text("\(success)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:41:16: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
39 | if success > 0 {
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | Text("\(success)")
43 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:41:33: error: 'green' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
39 | if success > 0 {
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | Text("\(success)")
43 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:42:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
42 | Text("\(success)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:42:13: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
42 | Text("\(success)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:39:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
37 | Text("\(failure)")
38 | }
39 | if success > 0 {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:39:26: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
37 | Text("\(failure)")
38 | }
39 | if success > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:43:11: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
41 | .foregroundColor(.green)
42 | Text("\(success)")
43 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:33:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:33:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:47:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
45 |
46 | case .done:
47 | Text("Done!").onAppear {
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | self.showingResults = true
49 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:47:23: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
45 |
46 | case .done:
47 | Text("Done!").onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | self.showingResults = true
49 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:48:11: error: setter for 'showingResults' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
46 | case .done:
47 | Text("Done!").onAppear {
48 | self.showingResults = true
| |- error: setter for 'showingResults' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | }
50 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:47:9: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
45 |
46 | case .done:
47 | Text("Done!").onAppear {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | self.showingResults = true
49 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:22:12: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
23 | switch viewModel.state {
24 | case .searchingForTests:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:52:6: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
50 | }
51 | }
52 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | self.viewModel.start()
54 | }
[29/29] Compiling PlaygroundTester TestingView.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestViewViewModel.swift:25:4: error: 'Published' is only available in macOS 10.15 or newer
12 | }
13 |
14 | final class TestViewViewModel: ObservableObject {
| `- note: add '@available' attribute to enclosing class
15 |
16 | enum State {
:
23 | var results = ResultViewModel(suites: [])
24 |
25 | @Published var state: State = .searchingForTests
| `- error: 'Published' is only available in macOS 10.15 or newer
26 | var totalClasses: Int = 0
27 | var totalTests: Int = 0
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestViewViewModel.swift:14:32: error: 'ObservableObject' is only available in macOS 10.15 or newer
12 | }
13 |
14 | final class TestViewViewModel: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing class
15 |
16 | enum State {
<unknown>:0: error: cannot convert value of type 'KeyPath<TestViewViewModel, TestViewViewModel.State>' to expected argument type 'ReferenceWritableKeyPath<TestViewViewModel, TestViewViewModel.State>'
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestViewViewModel.swift:45:7: error: setter for 'state' is only available in macOS 10.15 or newer
12 | }
13 |
14 | final class TestViewViewModel: ObservableObject {
| `- note: add '@available' attribute to enclosing class
15 |
16 | enum State {
:
35 | }
36 |
37 | func start() {
| `- note: add '@available' attribute to enclosing instance method
38 | self.results = runner.gatherResults()
39 | self.runner.findTests { [weak self] in
:
43 | self.totalTests = self.runner.totalMethods
44 |
45 | self.state = .executing(finished: 0, success: 0, failure: 0)
| |- error: setter for 'state' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 |
47 | self.startExecuting()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestViewViewModel.swift:61:7: error: setter for 'state' is only available in macOS 10.15 or newer
12 | }
13 |
14 | final class TestViewViewModel: ObservableObject {
| `- note: add '@available' attribute to enclosing class
15 |
16 | enum State {
:
49 | }
50 |
51 | private func startExecuting() {
| `- note: add '@available' attribute to enclosing instance method
52 | self.runner.executeAllTests { [weak self] result in
53 | guard let self = self else { return }
:
59 | }
60 |
61 | self.state = .executing(finished: self.finished, success: self.success, failure: self.failure)
| |- error: setter for 'state' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | } completion: { [weak self] in
63 | guard let self = self else { return }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestViewViewModel.swift:66:7: error: setter for 'state' is only available in macOS 10.15 or newer
12 | }
13 |
14 | final class TestViewViewModel: ObservableObject {
| `- note: add '@available' attribute to enclosing class
15 |
16 | enum State {
:
49 | }
50 |
51 | private func startExecuting() {
| `- note: add '@available' attribute to enclosing instance method
52 | self.runner.executeAllTests { [weak self] result in
53 | guard let self = self else { return }
:
64 |
65 | self.results = self.runner.gatherResults()
66 | self.state = .done
| |- error: setter for 'state' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:7:4: error: 'StateObject' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
8 |
9 | @State var showingResults = false
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:9:4: error: 'State' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
8 |
9 | @State var showingResults = false
| `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 | public var body: some View {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:11:25: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
12 | Group {
13 | if self.showingResults {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:21:33: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:12:5: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
| |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
13 | if self.showingResults {
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:12:5: error: 'Group' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | if self.showingResults {
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:12:5: error: 'init(content:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | if self.showingResults {
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:13:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
13 | if self.showingResults {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
15 | } else {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:15:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
13 | if self.showingResults {
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
15 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | self.testingView
17 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:12:11: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
12 | Group {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
13 | if self.showingResults {
14 | TestSuitesView(suites: self.viewModel.results.suites, title: "Results")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:11:30: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
9 | @State var showingResults = false
10 |
11 | public var body: some View {
| | |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add '@available' attribute to enclosing property
12 | Group {
13 | if self.showingResults {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:22:5: error: 'VStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | switch viewModel.state {
24 | case .searchingForTests:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:22:5: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
23 | switch viewModel.state {
24 | case .searchingForTests:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:25:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
26 | ProgressView().progressViewStyle(.circular)
27 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:25:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | ProgressView().progressViewStyle(.circular)
27 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:26:9: error: 'ProgressView' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
26 | ProgressView().progressViewStyle(.circular)
| |- error: 'ProgressView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 |
28 | case let .executing(finished, success, failure):
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:26:9: error: 'init()' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
26 | ProgressView().progressViewStyle(.circular)
| |- error: 'init()' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 |
28 | case let .executing(finished, success, failure):
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:26:24: error: 'progressViewStyle' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
26 | ProgressView().progressViewStyle(.circular)
| |- error: 'progressViewStyle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 |
28 | case let .executing(finished, success, failure):
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:26:43: error: 'circular' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
26 | ProgressView().progressViewStyle(.circular)
| |- error: 'circular' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 |
28 | case let .executing(finished, success, failure):
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:25:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
26 | ProgressView().progressViewStyle(.circular)
27 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:25:9: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | ProgressView().progressViewStyle(.circular)
27 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:25:9: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
24 | case .searchingForTests:
25 | Text("Looking for tests...")
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | ProgressView().progressViewStyle(.circular)
27 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:30:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:30:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:31:9: error: 'ProgressView' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
| |- error: 'ProgressView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:31:9: error: 'init()' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
| |- error: 'init()' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:31:24: error: 'progressViewStyle' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
| |- error: 'progressViewStyle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:31:43: error: 'circular' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
| |- error: 'circular' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:32:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
33 | HStack {
34 | if failure > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:32:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | HStack {
34 | if failure > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:33:9: error: 'HStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:35:13: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
33 | HStack {
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .foregroundColor(.red)
37 | Text("\(failure)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:35:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
33 | HStack {
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
36 | .foregroundColor(.red)
37 | Text("\(failure)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:36:16: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | Text("\(failure)")
38 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:36:33: error: 'red' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | Text("\(failure)")
38 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:37:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
37 | Text("\(failure)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
38 | }
39 | if success > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:37:13: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
37 | Text("\(failure)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | }
39 | if success > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:34:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
34 | if failure > 0 {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:34:26: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
34 | if failure > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | Image(systemName: "xmark.octagon.fill")
36 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:38:11: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
36 | .foregroundColor(.red)
37 | Text("\(failure)")
38 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | if success > 0 {
40 | Image(systemName: "checkmark.circle.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:40:13: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
38 | }
39 | if success > 0 {
40 | Image(systemName: "checkmark.circle.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .foregroundColor(.green)
42 | Text("\(success)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:40:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
38 | }
39 | if success > 0 {
40 | Image(systemName: "checkmark.circle.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
41 | .foregroundColor(.green)
42 | Text("\(success)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:41:16: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
39 | if success > 0 {
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | Text("\(success)")
43 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:41:33: error: 'green' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
39 | if success > 0 {
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | Text("\(success)")
43 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:42:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
42 | Text("\(success)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:42:13: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
42 | Text("\(success)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:39:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
37 | Text("\(failure)")
38 | }
39 | if success > 0 {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:39:26: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
37 | Text("\(failure)")
38 | }
39 | if success > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | Image(systemName: "checkmark.circle.fill")
41 | .foregroundColor(.green)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:43:11: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
41 | .foregroundColor(.green)
42 | Text("\(success)")
43 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:33:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:33:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
31 | ProgressView().progressViewStyle(.circular)
32 | Text("\(finished) / \(self.viewModel.totalTests)")
33 | HStack {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
34 | if failure > 0 {
35 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:29:9: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
27 |
28 | case let .executing(finished, success, failure):
29 | Text("Found \(self.viewModel.totalClasses) test classes and \(self.viewModel.totalTests) methods.")
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | Text("Executing....")
31 | ProgressView().progressViewStyle(.circular)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:47:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
45 |
46 | case .done:
47 | Text("Done!").onAppear {
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | self.showingResults = true
49 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:47:23: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
45 |
46 | case .done:
47 | Text("Done!").onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | self.showingResults = true
49 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:48:11: error: setter for 'showingResults' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
46 | case .done:
47 | Text("Done!").onAppear {
48 | self.showingResults = true
| |- error: setter for 'showingResults' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | }
50 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:47:9: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
45 |
46 | case .done:
47 | Text("Done!").onAppear {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | self.showingResults = true
49 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:22:12: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
23 | switch viewModel.state {
24 | case .searchingForTests:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestingView.swift:52:6: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestingView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | @StateObject var viewModel = TestViewViewModel()
:
19 | }
20 |
21 | private var testingView: some View {
| `- note: add '@available' attribute to enclosing property
22 | VStack {
23 | switch viewModel.state {
:
50 | }
51 | }
52 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | self.viewModel.start()
54 | }
BUILD FAILURE 6.3 macosSpm