Build Information
Failed to build PlaygroundTester, reference main (1444c7), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 08:08:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
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 {
[19/29] Compiling PlaygroundTester Expectation.swift
[20/29] Compiling PlaygroundTester IdentityProvider.swift
[21/29] Compiling PlaygroundTester TestMethod.swift
[22/29] Compiling PlaygroundTester TestMethodView.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:10:25: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:11:5: error: 'VStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | HStack(spacing: 10) {
13 | Text(name)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:12:7: error: 'HStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(name)
14 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:13: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 TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
13 | 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
14 | Spacer()
15 | switch result.isSuccess {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:13:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
13 | Text(name)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | Spacer()
15 | switch result.isSuccess {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:14: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 TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
13 | Text(name)
14 | 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
15 | switch result.isSuccess {
16 | case true:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:14:9: error: 'Spacer' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
13 | Text(name)
14 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | switch result.isSuccess {
16 | case true:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:17:11: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
15 | switch result.isSuccess {
16 | case true:
17 | Image(systemName: "checkmark.circle.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.green)
19 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:17:11: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
15 | switch result.isSuccess {
16 | case true:
17 | Image(systemName: "checkmark.circle.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.green)
19 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:18:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
16 | case true:
17 | Image(systemName: "checkmark.circle.fill")
18 | .foregroundColor(.green)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 |
20 | case false:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:18:31: error: 'green' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
16 | case true:
17 | Image(systemName: "checkmark.circle.fill")
18 | .foregroundColor(.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 |
20 | case false:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:17:11: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
15 | switch result.isSuccess {
16 | case true:
17 | Image(systemName: "checkmark.circle.fill")
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.green)
19 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:21:11: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
19 |
20 | case false:
21 | Image(systemName: "xmark.octagon.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .foregroundColor(.red)
23 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:21:11: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
19 |
20 | case false:
21 | Image(systemName: "xmark.octagon.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
22 | .foregroundColor(.red)
23 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:22:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
20 | case false:
21 | Image(systemName: "xmark.octagon.fill")
22 | .foregroundColor(.red)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:22:31: error: 'red' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
20 | case false:
21 | Image(systemName: "xmark.octagon.fill")
22 | .foregroundColor(.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:21:11: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
19 |
20 | case false:
21 | Image(systemName: "xmark.octagon.fill")
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .foregroundColor(.red)
23 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:12: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 TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | 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
13 | Text(name)
14 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:12: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 TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | 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
13 | Text(name)
14 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:12:27: 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 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
| |- 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 | Text(name)
14 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:10:4: error: 'Binding' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
8 | let title: String
9 |
10 | @Binding private(set) var failuresOnly: Bool
| `- error: 'Binding' 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/TestMethodsView.swift:12:18: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
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 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:14:5: error: 'List' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
| |- error: 'List' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | if method.result.isSuccess {
16 | TestMethodView(name: method.name, result: method.result)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:14:5: error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
| |- error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | if method.result.isSuccess {
16 | TestMethodView(name: method.name, result: method.result)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:15:34: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
15 | if method.result.isSuccess {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | TestMethodView(name: method.name, result: method.result)
17 | } else {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:18:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
16 | TestMethodView(name: method.name, result: method.result)
17 | } else {
18 | NavigationLink {
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | AssertionsView(testResult: method.result, title: method.name)
20 | } label: {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:17:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
15 | if method.result.isSuccess {
16 | TestMethodView(name: method.name, result: method.result)
17 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | NavigationLink {
19 | AssertionsView(testResult: method.result, title: method.name)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:14:19: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
| |- 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
15 | if method.result.isSuccess {
16 | TestMethodView(name: method.name, result: method.result)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:24:7: error: 'navigationTitle' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
22 | }
23 | }
24 | }.navigationTitle(title)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
25 | .toolbar {
26 | ToolbarItem(placement: .navigationBarTrailing) {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:25:6: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
23 | }
24 | }.navigationTitle(title)
25 | .toolbar {
| |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
26 | ToolbarItem(placement: .navigationBarTrailing) {
27 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:25:14: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
23 | }
24 | }.navigationTitle(title)
25 | .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
26 | ToolbarItem(placement: .navigationBarTrailing) {
27 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:25:14: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
23 | }
24 | }.navigationTitle(title)
25 | .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
26 | ToolbarItem(placement: .navigationBarTrailing) {
27 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:26:7: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
24 | }.navigationTitle(title)
25 | .toolbar {
26 | 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
27 | if results.isEmpty == false {
28 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:26:7: error: 'ToolbarItem' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
24 | }.navigationTitle(title)
25 | .toolbar {
26 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 | if results.isEmpty == false {
28 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:26:7: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
24 | }.navigationTitle(title)
25 | .toolbar {
26 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 | if results.isEmpty == false {
28 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:26:31: error: 'navigationBarTrailing' is unavailable in macOS
24 | }.navigationTitle(title)
25 | .toolbar {
26 | ToolbarItem(placement: .navigationBarTrailing) {
| `- error: 'navigationBarTrailing' is unavailable in macOS
27 | if results.isEmpty == false {
28 | 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/TestMethodsView.swift:27:37: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
25 | .toolbar {
26 | ToolbarItem(placement: .navigationBarTrailing) {
27 | if results.isEmpty == false {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | ResultsToggleButton(isToggled: $failuresOnly)
29 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:29:9: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
27 | if results.isEmpty == false {
28 | ResultsToggleButton(isToggled: $failuresOnly)
29 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:26:54: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
24 | }.navigationTitle(title)
25 | .toolbar {
26 | 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
27 | if results.isEmpty == false {
28 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:25:14: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
23 | }
24 | }.navigationTitle(title)
25 | .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
26 | ToolbarItem(placement: .navigationBarTrailing) {
27 | if results.isEmpty == false {
[23/29] Compiling PlaygroundTester TestMethodsView.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:10:25: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:11:5: error: 'VStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | HStack(spacing: 10) {
13 | Text(name)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:12:7: error: 'HStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(name)
14 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:13: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 TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
13 | 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
14 | Spacer()
15 | switch result.isSuccess {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:13:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
13 | Text(name)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | Spacer()
15 | switch result.isSuccess {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:14: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 TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
13 | Text(name)
14 | 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
15 | switch result.isSuccess {
16 | case true:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:14:9: error: 'Spacer' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
13 | Text(name)
14 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | switch result.isSuccess {
16 | case true:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:17:11: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
15 | switch result.isSuccess {
16 | case true:
17 | Image(systemName: "checkmark.circle.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.green)
19 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:17:11: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
15 | switch result.isSuccess {
16 | case true:
17 | Image(systemName: "checkmark.circle.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.green)
19 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:18:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
16 | case true:
17 | Image(systemName: "checkmark.circle.fill")
18 | .foregroundColor(.green)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 |
20 | case false:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:18:31: error: 'green' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
16 | case true:
17 | Image(systemName: "checkmark.circle.fill")
18 | .foregroundColor(.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 |
20 | case false:
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:17:11: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
15 | switch result.isSuccess {
16 | case true:
17 | Image(systemName: "checkmark.circle.fill")
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.green)
19 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:21:11: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
19 |
20 | case false:
21 | Image(systemName: "xmark.octagon.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .foregroundColor(.red)
23 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:21:11: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
19 |
20 | case false:
21 | Image(systemName: "xmark.octagon.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
22 | .foregroundColor(.red)
23 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:22:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
20 | case false:
21 | Image(systemName: "xmark.octagon.fill")
22 | .foregroundColor(.red)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:22:31: error: 'red' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
20 | case false:
21 | Image(systemName: "xmark.octagon.fill")
22 | .foregroundColor(.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:21:11: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
:
19 |
20 | case false:
21 | Image(systemName: "xmark.octagon.fill")
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .foregroundColor(.red)
23 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:12: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 TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | 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
13 | Text(name)
14 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:12: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 TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | 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
13 | Text(name)
14 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodView.swift:12:27: 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 | public struct TestMethodView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let name: String
8 | let result: TestResult
9 |
10 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | VStack {
12 | HStack(spacing: 10) {
| |- 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 | Text(name)
14 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:10:4: error: 'Binding' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
8 | let title: String
9 |
10 | @Binding private(set) var failuresOnly: Bool
| `- error: 'Binding' 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/TestMethodsView.swift:12:18: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
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 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:14:5: error: 'List' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
| |- error: 'List' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | if method.result.isSuccess {
16 | TestMethodView(name: method.name, result: method.result)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:14:5: error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
| |- error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | if method.result.isSuccess {
16 | TestMethodView(name: method.name, result: method.result)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:15:34: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
15 | if method.result.isSuccess {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | TestMethodView(name: method.name, result: method.result)
17 | } else {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:18:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
16 | TestMethodView(name: method.name, result: method.result)
17 | } else {
18 | NavigationLink {
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | AssertionsView(testResult: method.result, title: method.name)
20 | } label: {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:17:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
15 | if method.result.isSuccess {
16 | TestMethodView(name: method.name, result: method.result)
17 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | NavigationLink {
19 | AssertionsView(testResult: method.result, title: method.name)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:14:19: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
| |- 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
15 | if method.result.isSuccess {
16 | TestMethodView(name: method.name, result: method.result)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:24:7: error: 'navigationTitle' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
22 | }
23 | }
24 | }.navigationTitle(title)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
25 | .toolbar {
26 | ToolbarItem(placement: .navigationBarTrailing) {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:25:6: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
23 | }
24 | }.navigationTitle(title)
25 | .toolbar {
| |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
26 | ToolbarItem(placement: .navigationBarTrailing) {
27 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:25:14: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
23 | }
24 | }.navigationTitle(title)
25 | .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
26 | ToolbarItem(placement: .navigationBarTrailing) {
27 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:25:14: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
23 | }
24 | }.navigationTitle(title)
25 | .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
26 | ToolbarItem(placement: .navigationBarTrailing) {
27 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:26:7: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
24 | }.navigationTitle(title)
25 | .toolbar {
26 | 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
27 | if results.isEmpty == false {
28 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:26:7: error: 'ToolbarItem' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
24 | }.navigationTitle(title)
25 | .toolbar {
26 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 | if results.isEmpty == false {
28 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:26:7: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
24 | }.navigationTitle(title)
25 | .toolbar {
26 | ToolbarItem(placement: .navigationBarTrailing) {
| |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 | if results.isEmpty == false {
28 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:26:31: error: 'navigationBarTrailing' is unavailable in macOS
24 | }.navigationTitle(title)
25 | .toolbar {
26 | ToolbarItem(placement: .navigationBarTrailing) {
| `- error: 'navigationBarTrailing' is unavailable in macOS
27 | if results.isEmpty == false {
28 | 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/TestMethodsView.swift:27:37: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
25 | .toolbar {
26 | ToolbarItem(placement: .navigationBarTrailing) {
27 | if results.isEmpty == false {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | ResultsToggleButton(isToggled: $failuresOnly)
29 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:29:9: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
27 | if results.isEmpty == false {
28 | ResultsToggleButton(isToggled: $failuresOnly)
29 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:26:54: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
24 | }.navigationTitle(title)
25 | .toolbar {
26 | 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
27 | if results.isEmpty == false {
28 | ResultsToggleButton(isToggled: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestMethodsView.swift:25:14: 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 TestMethodsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let methods: [ResultViewModel.Suite.Method]
:
10 | @Binding private(set) var failuresOnly: Bool
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | let results = failuresOnly ? methods.filter { $0.result.isSuccess == false } : methods
14 | List(results) { method in
:
23 | }
24 | }.navigationTitle(title)
25 | .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
26 | ToolbarItem(placement: .navigationBarTrailing) {
27 | if results.isEmpty == false {
[24/29] Compiling PlaygroundTester AssertionSectionView.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:11:5: warning: conformance of 'Section<Parent, Content, Footer>' 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 AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
| |- warning: conformance of 'Section<Parent, Content, Footer>' 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
12 | ForEach(assertions) { assertion in
13 | AssertionView(assertion: assertion).cornerRadius(5)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:11:5: error: 'Section' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
| |- error: 'Section' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | ForEach(assertions) { assertion in
13 | AssertionView(assertion: assertion).cornerRadius(5)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:11:5: error: 'init(content:header:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
| |- error: 'init(content:header:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | ForEach(assertions) { assertion in
13 | AssertionView(assertion: assertion).cornerRadius(5)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:12:7: error: 'ForEach' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | AssertionView(assertion: assertion).cornerRadius(5)
14 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:12:7: error: 'init(_:content:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | AssertionView(assertion: assertion).cornerRadius(5)
14 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:13:45: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
13 | AssertionView(assertion: assertion).cornerRadius(5)
| |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | }
15 | .padding([.leading, .trailing], 5)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:15:8: error: 'padding' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
13 | AssertionView(assertion: assertion).cornerRadius(5)
14 | }
15 | .padding([.leading, .trailing], 5)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | } header: {
17 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:17:7: error: 'HStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
15 | .padding([.leading, .trailing], 5)
16 | } header: {
17 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | Text(sectionName.uppercased())
19 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:18: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 AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
16 | } header: {
17 | HStack {
18 | Text(sectionName.uppercased())
| |- 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
19 | .font(.caption)
20 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:18:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
16 | } header: {
17 | HStack {
18 | Text(sectionName.uppercased())
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .font(.caption)
20 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:19:12: error: 'font' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
17 | HStack {
18 | Text(sectionName.uppercased())
19 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .foregroundColor(.secondary)
21 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:19:18: error: 'caption' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
17 | HStack {
18 | Text(sectionName.uppercased())
19 | .font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .foregroundColor(.secondary)
21 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:20:12: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
18 | Text(sectionName.uppercased())
19 | .font(.caption)
20 | .foregroundColor(.secondary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Spacer()
22 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:20:29: error: 'secondary' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
18 | Text(sectionName.uppercased())
19 | .font(.caption)
20 | .foregroundColor(.secondary)
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Spacer()
22 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:21: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 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
19 | .font(.caption)
20 | .foregroundColor(.secondary)
21 | 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
22 | }
23 | .padding(.init(top: 5, leading: 5, bottom: -5, trailing: 5))
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:21:9: error: 'Spacer' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
19 | .font(.caption)
20 | .foregroundColor(.secondary)
21 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | }
23 | .padding(.init(top: 5, leading: 5, bottom: -5, trailing: 5))
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:17:14: 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 AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
15 | .padding([.leading, .trailing], 5)
16 | } header: {
17 | HStack {
| |- 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
18 | Text(sectionName.uppercased())
19 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:17:14: 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 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
15 | .padding([.leading, .trailing], 5)
16 | } header: {
17 | HStack {
| |- 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
18 | Text(sectionName.uppercased())
19 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:23:8: error: 'padding' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
21 | Spacer()
22 | }
23 | .padding(.init(top: 5, leading: 5, bottom: -5, trailing: 5))
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | }
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:10:23: warning: conformance of 'Section<Parent, Content, Footer>' 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 AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| | |- warning: conformance of 'Section<Parent, Content, Footer>' 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
11 | Section {
12 | ForEach(assertions) { assertion in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:10:4: error: 'State' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
9 |
10 | @State var showingFullDiff = 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/AssertionView.swift:12:18: error: 'View' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = 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 | VStack(alignment: .leading) {
14 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:43:31: error: 'View' is only available in macOS 10.15 or newer
40 | }
41 |
42 | struct AssertionView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
43 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
44 | AssertionView(assertion: .init(
45 | basicMessage: "This assertion has failed",
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:5: error: 'VStack' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:24: error: 'leading' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:33: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- 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 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:33: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- 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 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:33: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- 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 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:14:7: error: 'HStack' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | Text(assertion.message).lineLimit(nil)
16 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:15:9: error: 'Text' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | Spacer()
17 | Image(systemName: "chevron.down")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:15:33: error: 'lineLimit' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
| |- error: 'lineLimit' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | Spacer()
17 | Image(systemName: "chevron.down")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:16: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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
16 | 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
17 | Image(systemName: "chevron.down")
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:16:9: error: 'Spacer' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
16 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | Image(systemName: "chevron.down")
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:17:9: error: 'Image' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
16 | Spacer()
17 | Image(systemName: "chevron.down")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
19 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:17:9: error: 'init(systemName:)' is only available in macOS 11.0 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
16 | Spacer()
17 | Image(systemName: "chevron.down")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
19 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:18:12: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
16 | Spacer()
17 | Image(systemName: "chevron.down")
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:18:27: error: 'Angle' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
16 | Spacer()
17 | Image(systemName: "chevron.down")
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
| |- error: 'Angle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:14:14: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
| |- 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
15 | Text(assertion.message).lineLimit(nil)
16 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:22: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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
20 |
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
| |- 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
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:22:9: error: 'ScrollView' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
20 |
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:22:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
20 |
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:23: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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
| |- 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
24 | .font(.callout.monospaced())
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:23:11: error: 'Text' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | .font(.callout.monospaced())
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:24:14: error: 'font' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
| |- error: 'font' 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/AssertionView.swift:24:20: error: 'callout' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
| |- error: 'callout' 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/AssertionView.swift:24:28: error: 'monospaced()' is only available in macOS 12.0 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
| |- error: 'monospaced()' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:22:35: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
20 |
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
| |- 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
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:21:31: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
19 | }
20 |
21 | if self.showingFullDiff {
| |- 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 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:21:31: error: 'buildIf' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
19 | }
20 |
21 | if self.showingFullDiff {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:26:7: error: 'buildIf' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
24 | .font(.callout.monospaced())
25 | }
26 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | }
28 | .padding(.init(
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:33: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- 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 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:28:6: error: 'padding' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
26 | }
27 | }
28 | .padding(.init(
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | top: 10,
30 | leading: 5,
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:33:6: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
31 | bottom: self.showingFullDiff ? 0 : 10,
32 | trailing: 5))
33 | .background(.background)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
34 | .onTapGesture {
35 | withAnimation {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:33:18: error: 'background' is only available in macOS 11.0 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
31 | bottom: self.showingFullDiff ? 0 : 10,
32 | trailing: 5))
33 | .background(.background)
| |- error: 'background' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
34 | .onTapGesture {
35 | withAnimation {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:34:6: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
32 | trailing: 5))
33 | .background(.background)
34 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | withAnimation {
36 | self.showingFullDiff.toggle()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:35:7: error: 'withAnimation' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
33 | .background(.background)
34 | .onTapGesture {
35 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | self.showingFullDiff.toggle()
37 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:36:9: error: cannot pass as inout because setter for 'showingFullDiff' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
34 | .onTapGesture {
35 | withAnimation {
36 | self.showingFullDiff.toggle()
| |- error: cannot pass as inout because setter for 'showingFullDiff' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
[25/29] Compiling PlaygroundTester AssertionView.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:11:5: warning: conformance of 'Section<Parent, Content, Footer>' 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 AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
| |- warning: conformance of 'Section<Parent, Content, Footer>' 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
12 | ForEach(assertions) { assertion in
13 | AssertionView(assertion: assertion).cornerRadius(5)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:11:5: error: 'Section' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
| |- error: 'Section' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | ForEach(assertions) { assertion in
13 | AssertionView(assertion: assertion).cornerRadius(5)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:11:5: error: 'init(content:header:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
| |- error: 'init(content:header:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | ForEach(assertions) { assertion in
13 | AssertionView(assertion: assertion).cornerRadius(5)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:12:7: error: 'ForEach' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | AssertionView(assertion: assertion).cornerRadius(5)
14 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:12:7: error: 'init(_:content:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | AssertionView(assertion: assertion).cornerRadius(5)
14 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:13:45: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
13 | AssertionView(assertion: assertion).cornerRadius(5)
| |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | }
15 | .padding([.leading, .trailing], 5)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:15:8: error: 'padding' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
13 | AssertionView(assertion: assertion).cornerRadius(5)
14 | }
15 | .padding([.leading, .trailing], 5)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | } header: {
17 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:17:7: error: 'HStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
15 | .padding([.leading, .trailing], 5)
16 | } header: {
17 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | Text(sectionName.uppercased())
19 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:18: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 AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
16 | } header: {
17 | HStack {
18 | Text(sectionName.uppercased())
| |- 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
19 | .font(.caption)
20 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:18:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
16 | } header: {
17 | HStack {
18 | Text(sectionName.uppercased())
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .font(.caption)
20 | .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:19:12: error: 'font' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
17 | HStack {
18 | Text(sectionName.uppercased())
19 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .foregroundColor(.secondary)
21 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:19:18: error: 'caption' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
17 | HStack {
18 | Text(sectionName.uppercased())
19 | .font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .foregroundColor(.secondary)
21 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:20:12: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
18 | Text(sectionName.uppercased())
19 | .font(.caption)
20 | .foregroundColor(.secondary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Spacer()
22 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:20:29: error: 'secondary' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
18 | Text(sectionName.uppercased())
19 | .font(.caption)
20 | .foregroundColor(.secondary)
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Spacer()
22 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:21: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 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
19 | .font(.caption)
20 | .foregroundColor(.secondary)
21 | 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
22 | }
23 | .padding(.init(top: 5, leading: 5, bottom: -5, trailing: 5))
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:21:9: error: 'Spacer' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
19 | .font(.caption)
20 | .foregroundColor(.secondary)
21 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | }
23 | .padding(.init(top: 5, leading: 5, bottom: -5, trailing: 5))
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:17:14: 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 AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
15 | .padding([.leading, .trailing], 5)
16 | } header: {
17 | HStack {
| |- 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
18 | Text(sectionName.uppercased())
19 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:17:14: 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 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
15 | .padding([.leading, .trailing], 5)
16 | } header: {
17 | HStack {
| |- 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
18 | Text(sectionName.uppercased())
19 | .font(.caption)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:23:8: error: 'padding' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| `- note: add '@available' attribute to enclosing property
11 | Section {
12 | ForEach(assertions) { assertion in
:
21 | Spacer()
22 | }
23 | .padding(.init(top: 5, leading: 5, bottom: -5, trailing: 5))
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | }
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionSectionView.swift:10:23: warning: conformance of 'Section<Parent, Content, Footer>' 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 AssertionSectionView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let assertions: [Assertion]
8 | let sectionName: String
9 |
10 | var body: some View {
| | |- warning: conformance of 'Section<Parent, Content, Footer>' 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
11 | Section {
12 | ForEach(assertions) { assertion in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:10:4: error: 'State' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
9 |
10 | @State var showingFullDiff = 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/AssertionView.swift:12:18: error: 'View' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = 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 | VStack(alignment: .leading) {
14 | HStack {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:43:31: error: 'View' is only available in macOS 10.15 or newer
40 | }
41 |
42 | struct AssertionView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
43 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
44 | AssertionView(assertion: .init(
45 | basicMessage: "This assertion has failed",
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:5: error: 'VStack' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:24: error: 'leading' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:33: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- 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 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:33: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- 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 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:33: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- 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 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:14:7: error: 'HStack' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | Text(assertion.message).lineLimit(nil)
16 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:15:9: error: 'Text' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | Spacer()
17 | Image(systemName: "chevron.down")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:15:33: error: 'lineLimit' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
| |- error: 'lineLimit' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | Spacer()
17 | Image(systemName: "chevron.down")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:16: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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
16 | 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
17 | Image(systemName: "chevron.down")
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:16:9: error: 'Spacer' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
16 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | Image(systemName: "chevron.down")
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:17:9: error: 'Image' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
16 | Spacer()
17 | Image(systemName: "chevron.down")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
19 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:17:9: error: 'init(systemName:)' is only available in macOS 11.0 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
15 | Text(assertion.message).lineLimit(nil)
16 | Spacer()
17 | Image(systemName: "chevron.down")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
19 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:18:12: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
16 | Spacer()
17 | Image(systemName: "chevron.down")
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:18:27: error: 'Angle' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
16 | Spacer()
17 | Image(systemName: "chevron.down")
18 | .rotationEffect(Angle.degrees(self.showingFullDiff ? 180.0 : 0.0))
| |- error: 'Angle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:14:14: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
| |- 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
15 | Text(assertion.message).lineLimit(nil)
16 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:22: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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
20 |
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
| |- 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
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:22:9: error: 'ScrollView' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
20 |
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:22:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
20 |
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:23: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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
| |- 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
24 | .font(.callout.monospaced())
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:23:11: error: 'Text' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | .font(.callout.monospaced())
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:24:14: error: 'font' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
| |- error: 'font' 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/AssertionView.swift:24:20: error: 'callout' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
| |- error: 'callout' 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/AssertionView.swift:24:28: error: 'monospaced()' is only available in macOS 12.0 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
| |- error: 'monospaced()' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:22:35: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
20 |
21 | if self.showingFullDiff {
22 | ScrollView([.horizontal]) {
| |- 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
23 | Text(assertion.fullDiff)
24 | .font(.callout.monospaced())
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:21:31: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
19 | }
20 |
21 | if self.showingFullDiff {
| |- 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 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:21:31: error: 'buildIf' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
19 | }
20 |
21 | if self.showingFullDiff {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | ScrollView([.horizontal]) {
23 | Text(assertion.fullDiff)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:26:7: error: 'buildIf' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
24 | .font(.callout.monospaced())
25 | }
26 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | }
28 | .padding(.init(
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:13:33: 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
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
| |- 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 | HStack {
15 | Text(assertion.message).lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:28:6: error: 'padding' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
26 | }
27 | }
28 | .padding(.init(
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | top: 10,
30 | leading: 5,
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:33:6: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
31 | bottom: self.showingFullDiff ? 0 : 10,
32 | trailing: 5))
33 | .background(.background)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
34 | .onTapGesture {
35 | withAnimation {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:33:18: error: 'background' is only available in macOS 11.0 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
31 | bottom: self.showingFullDiff ? 0 : 10,
32 | trailing: 5))
33 | .background(.background)
| |- error: 'background' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
34 | .onTapGesture {
35 | withAnimation {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:34:6: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
32 | trailing: 5))
33 | .background(.background)
34 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | withAnimation {
36 | self.showingFullDiff.toggle()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:35:7: error: 'withAnimation' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
33 | .background(.background)
34 | .onTapGesture {
35 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | self.showingFullDiff.toggle()
37 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionView.swift:36:9: error: cannot pass as inout because setter for 'showingFullDiff' is only available in macOS 10.15 or newer
4 | import Difference
5 |
6 | struct AssertionView: View {
| `- note: add '@available' attribute to enclosing struct
7 |
8 | let assertion: Assertion
:
10 | @State var showingFullDiff = false
11 |
12 | var body: some View {
| `- note: add '@available' attribute to enclosing property
13 | VStack(alignment: .leading) {
14 | HStack {
:
34 | .onTapGesture {
35 | withAnimation {
36 | self.showingFullDiff.toggle()
| |- error: cannot pass as inout because setter for 'showingFullDiff' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 | }
[26/29] Compiling PlaygroundTester PlaygroundTesterView.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterView.swift:10:25: error: 'View' is only available in macOS 10.15 or newer
8 | public init() {}
9 |
10 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
11 | TestingView()
12 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:14:16: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
:
12 | }
13 |
14 | public init(@ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
15 | self.content = content()
16 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:18:25: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
19 | if isTesting {
20 | #if TESTING_ENABLED
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:3:52: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:19:18: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | if isTesting {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | #if TESTING_ENABLED
21 | TestingView()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:23:12: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | if isTesting {
20 | #if TESTING_ENABLED
21 | TestingView()
22 | #endif
23 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | content
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:18:30: 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
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
:
16 | }
17 |
18 | public var body: some View {
| | |- 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
| `- note: add '@available' attribute to enclosing property
19 | if isTesting {
20 | #if TESTING_ENABLED
[27/29] Compiling PlaygroundTester PlaygroundTesterWrapperView.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterView.swift:10:25: error: 'View' is only available in macOS 10.15 or newer
8 | public init() {}
9 |
10 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
11 | TestingView()
12 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:14:16: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
:
12 | }
13 |
14 | public init(@ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
15 | self.content = content()
16 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:18:25: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
19 | if isTesting {
20 | #if TESTING_ENABLED
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:3:52: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:19:18: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | if isTesting {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | #if TESTING_ENABLED
21 | TestingView()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:23:12: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | if isTesting {
20 | #if TESTING_ENABLED
21 | TestingView()
22 | #endif
23 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | content
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Interface/PlaygroundTesterWrapperView.swift:18:30: 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
1 | import SwiftUI
2 |
3 | public struct PlaygroundTesterWrapperView<Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
4 | let content: Content
5 |
:
16 | }
17 |
18 | public var body: some View {
| | |- 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
| `- note: add '@available' attribute to enclosing property
19 | if isTesting {
20 | #if TESTING_ENABLED
[28/29] Compiling PlaygroundTester AssertionsView.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionsView.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let testResult: TestResult
8 | let title: String
9 |
10 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
11 | ScrollView {
12 | if testResult.setUpAssertions.count > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionsView.swift:25:34: error: cannot find 'UIColor' in scope
23 | Color.clear.padding(.bottom, 50)
24 | }
25 | .background(content: { Color(UIColor.tertiarySystemGroupedBackground) })
| `- error: cannot find 'UIColor' in scope
26 | .navigationTitle(title)
27 | }
[29/29] Compiling PlaygroundTester ResultViewModel.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionsView.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct AssertionsView: View {
| `- note: add '@available' attribute to enclosing struct
6 |
7 | let testResult: TestResult
8 | let title: String
9 |
10 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
11 | ScrollView {
12 | if testResult.setUpAssertions.count > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/AssertionsView.swift:25:34: error: cannot find 'UIColor' in scope
23 | Color.clear.padding(.bottom, 50)
24 | }
25 | .background(content: { Color(UIColor.tertiarySystemGroupedBackground) })
| `- error: cannot find 'UIColor' in scope
26 | .navigationTitle(title)
27 | }
BUILD FAILURE 6.3 macosSpm