Build Information
Failed to build PlaygroundTester, reference main (1444c7), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 16:26:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:14:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | Spacer()
16 | if failedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:14:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | Spacer()
16 | if failedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:15:9: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:15:9: error: 'Spacer' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:17:11: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
15 | Spacer()
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:17:11: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
15 | Spacer()
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:18:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | Text("\(failedTests)")
20 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:18:31: error: 'red' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | Text("\(failedTests)")
20 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:19:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | if passedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:19:11: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | }
21 | if passedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:16:28: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
16 | if failedTests > 0 {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:16:28: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
16 | if failedTests > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:20:9: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
20 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:22:11: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
20 | }
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:22:11: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
20 | }
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:23:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Text("\(passedTests)")
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:23:31: error: 'green' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Text("\(passedTests)")
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:24:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:24:11: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:21:28: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
19 | Text("\(failedTests)")
20 | }
21 | if passedTests > 0 {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:21:28: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
19 | Text("\(failedTests)")
20 | }
21 | if passedTests > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:25:9: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
25 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:10:4: error: 'State' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
8 | let title: String
9 |
10 | @State private(set) var failuresOnly = false
| `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 | var body: some View {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:12:18: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:13:5: error: 'NavigationView' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
| |- error: 'NavigationView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:13:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:13:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:15:7: error: 'List' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
| |- error: 'List' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | NavigationLink {
17 | TestMethodsView(methods: suite.methods, title: suite.name, failuresOnly: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:15:7: error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
| |- error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | NavigationLink {
17 | TestMethodsView(methods: suite.methods, title: suite.name, failuresOnly: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:16:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
16 | NavigationLink {
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | TestMethodsView(methods: suite.methods, title: suite.name, failuresOnly: $failuresOnly)
18 | } label: {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:22:8: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
20 | }
21 | }
22 | .navigationBarTitleDisplayMode(.inline)
| `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
23 | .navigationTitle(title)
24 | .toolbar {
SwiftUI.View.navigationBarTitleDisplayMode:2:25: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
| `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:23:8: error: 'navigationTitle' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
21 | }
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:24:8: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
24 | .toolbar {
| |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:24:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
24 | .toolbar {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift: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 {
[23/29] Compiling PlaygroundTester TestSuitesView.swift
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:11:25: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:12:5: error: 'VStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | HStack(spacing: 10) {
14 | Text(name)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:7: error: 'HStack' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:14:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | Spacer()
16 | if failedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:14:9: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | Spacer()
16 | if failedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:15:9: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:15:9: error: 'Spacer' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:17:11: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
15 | Spacer()
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:17:11: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
15 | Spacer()
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:18:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | Text("\(failedTests)")
20 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:18:31: error: 'red' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
16 | if failedTests > 0 {
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | Text("\(failedTests)")
20 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:19:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | if passedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:19:11: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | }
21 | if passedTests > 0 {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:16:28: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
16 | if failedTests > 0 {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:16:28: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
14 | Text(name)
15 | Spacer()
16 | if failedTests > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | Image(systemName: "xmark.octagon.fill")
18 | .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:20:9: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
18 | .foregroundColor(.red)
19 | Text("\(failedTests)")
20 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:22:11: error: 'Image' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
20 | }
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:22:11: error: 'init(systemName:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
20 | }
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:23:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Text("\(passedTests)")
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:23:31: error: 'green' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
21 | if passedTests > 0 {
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | Text("\(passedTests)")
25 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:24:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:24:11: error: 'Text' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:21:28: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
19 | Text("\(failedTests)")
20 | }
21 | if passedTests > 0 {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:21:28: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
19 | Text("\(failedTests)")
20 | }
21 | if passedTests > 0 {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | Image(systemName: "checkmark.circle.fill")
23 | .foregroundColor(.green)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:25:9: error: 'buildIf' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
:
23 | .foregroundColor(.green)
24 | Text("\(passedTests)")
25 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuiteView.swift:13:27: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | public struct TestSuiteView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let name: String
:
9 | let passedTests: Int
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack {
13 | HStack(spacing: 10) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | Text(name)
15 | Spacer()
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:10:4: error: 'State' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
8 | let title: String
9 |
10 | @State private(set) var failuresOnly = false
| `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 | var body: some View {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:12:18: error: 'View' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:13:5: error: 'NavigationView' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
| |- error: 'NavigationView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:13:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:13:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:15:7: error: 'List' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
| |- error: 'List' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | NavigationLink {
17 | TestMethodsView(methods: suite.methods, title: suite.name, failuresOnly: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:15:7: error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
| |- error: 'init(_:rowContent:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | NavigationLink {
17 | TestMethodsView(methods: suite.methods, title: suite.name, failuresOnly: $failuresOnly)
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:16:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
15 | List(results) { suite in
16 | NavigationLink {
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | TestMethodsView(methods: suite.methods, title: suite.name, failuresOnly: $failuresOnly)
18 | } label: {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:22:8: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
20 | }
21 | }
22 | .navigationBarTitleDisplayMode(.inline)
| `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
23 | .navigationTitle(title)
24 | .toolbar {
SwiftUI.View.navigationBarTitleDisplayMode:2:25: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
| `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:23:8: error: 'navigationTitle' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
21 | }
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
24 | .toolbar {
25 | ToolbarItem(placement: .navigationBarTrailing) {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:24:8: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
24 | .toolbar {
| |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift:24:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
3 | import SwiftUI
4 |
5 | struct TestSuitesView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | let suites: [ResultViewModel.Suite]
:
10 | @State private(set) var failuresOnly = false
11 |
12 | var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationView {
14 | let results = failuresOnly ? suites.filter { $0.failures > 0 } : suites
:
22 | .navigationBarTitleDisplayMode(.inline)
23 | .navigationTitle(title)
24 | .toolbar {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | ToolbarItem(placement: .navigationBarTrailing) {
26 | if results.isEmpty == false {
/Users/admin/builder/spi-builder-workspace/PlaygroundTester/Sources/PlaygroundTester/Views/TestSuitesView.swift: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 {
[24/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
[25/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
[26/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 | }
[27/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 | }
[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 | }
Fetching https://github.com/krzysztofzablocki/Difference
[5/486] Fetching difference
Fetched https://github.com/krzysztofzablocki/Difference from cache (1.02s)
Computing version for https://github.com/krzysztofzablocki/Difference
Computed https://github.com/krzysztofzablocki/Difference at 1.0.1 (1.56s)
Creating working copy for https://github.com/krzysztofzablocki/Difference
Working copy of https://github.com/krzysztofzablocki/Difference resolved at 1.0.1
BUILD FAILURE 6.2 macosSpm