The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DebugView, reference main (877e79), with Swift 6.1 for macOS (SPM) on 28 Jul 2025 11:02:26 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tourcoder/DebugView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tourcoder/DebugView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 877e79b Update DebugView.swift
Cloned https://github.com/tourcoder/DebugView.git
Revision (git rev-parse @):
877e79bfcd83aff6b7ed178a418170f42f96ffc4
SUCCESS checkout https://github.com/tourcoder/DebugView.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "debugview",
      "name": "DebugView",
      "url": "https://github.com/tourcoder/DebugView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DebugView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/tourcoder/DebugView.git
[1/19] Fetching debugview
Fetched https://github.com/tourcoder/DebugView.git from cache (0.59s)
Creating working copy for https://github.com/tourcoder/DebugView.git
Working copy of https://github.com/tourcoder/DebugView.git resolved at main (877e79b)
warning: '.resolve-product-dependencies': dependency 'debugview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tourcoder/DebugView.git
https://github.com/tourcoder/DebugView.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DebugView",
  "name" : "DebugView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "DebugView",
      "targets" : [
        "DebugView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DebugViewTests",
      "module_type" : "SwiftTarget",
      "name" : "DebugViewTests",
      "path" : "Tests/DebugViewTests",
      "sources" : [
        "DebugViewTests.swift"
      ],
      "target_dependencies" : [
        "DebugView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DebugView",
      "module_type" : "SwiftTarget",
      "name" : "DebugView",
      "path" : "Sources/DebugView",
      "product_memberships" : [
        "DebugView"
      ],
      "sources" : [
        "DebugView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module DebugView
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |     @StateObject private var logger = DebugLogger.shared
11 |
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:10:6: error: 'StateObject' is only available in macOS 11.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
11 |
12 |     public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:43:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
44 |
45 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:20: error: 'View' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:62:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DebugLogger' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: class 'DebugLogger' does not conform to the 'Sendable' protocol
62 |     public static let shared = DebugLogger()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DebugLogger' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 |     @Published private(set) var logs: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:64:6: error: 'Published' is only available in macOS 10.15 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
64 |     @Published private(set) var logs: [String] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
65 |
66 |     private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "DebugView", category: "DebugLogs")
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:66:26: error: 'Logger' is only available in macOS 11.0 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
64 |     @Published private(set) var logs: [String] = []
65 |
66 |     private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "DebugView", category: "DebugLogs")
   |                          `- error: 'Logger' is only available in macOS 11.0 or newer
67 |
68 |     private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:27: error: 'ObservableObject' is only available in macOS 10.15 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              |            `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
[4/4] Compiling DebugView DebugView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |     @StateObject private var logger = DebugLogger.shared
11 |
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:10:6: error: 'StateObject' is only available in macOS 11.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
11 |
12 |     public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:43:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
44 |
45 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:20: error: 'View' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:62:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DebugLogger' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: class 'DebugLogger' does not conform to the 'Sendable' protocol
62 |     public static let shared = DebugLogger()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DebugLogger' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 |     @Published private(set) var logs: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:64:6: error: 'Published' is only available in macOS 10.15 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
64 |     @Published private(set) var logs: [String] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
65 |
66 |     private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "DebugView", category: "DebugLogs")
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:66:26: error: 'Logger' is only available in macOS 11.0 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
64 |     @Published private(set) var logs: [String] = []
65 |
66 |     private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "DebugView", category: "DebugLogs")
   |                          `- error: 'Logger' is only available in macOS 11.0 or newer
67 |
68 |     private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:27: error: 'ObservableObject' is only available in macOS 10.15 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              |            `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:15:9: error: 'ZStack' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
16 |             if showLogs {
17 |                 LogView()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:18:22: error: 'transition' is only available in macOS 14.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
17 |                 LogView()
18 |                     .transition(.move(edge: .bottom))
   |                      |- error: 'transition' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
19 |             }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:18:34: error: 'move(edge:)' is only available in macOS 14.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
17 |                 LogView()
18 |                     .transition(.move(edge: .bottom))
   |                                  |- error: 'move(edge:)' is only available in macOS 14.0 or newer
   |                                  `- note: add 'if #available' version check
19 |             }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:16:25: error: 'buildIf' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   |                         |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
17 |                 LogView()
18 |                     .transition(.move(edge: .bottom))
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:19:13: error: 'buildIf' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
17 |                 LogView()
18 |                     .transition(.move(edge: .bottom))
19 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
20 |
21 |             VStack {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:21:13: error: 'VStack' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
19 |             }
20 |
21 |             VStack {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
22 |                 Spacer()
23 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:22:17: 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
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
20 |
21 |             VStack {
22 |                 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
23 |                 HStack {
24 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:22:17: error: 'Spacer' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
20 |
21 |             VStack {
22 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
23 |                 HStack {
24 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:23:17: error: 'HStack' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
21 |             VStack {
22 |                 Spacer()
23 |                 HStack {
   |                 |- error: 'HStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
24 |                     Spacer()
25 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:24:21: 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
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
22 |                 Spacer()
23 |                 HStack {
24 |                     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
25 |                     Button(action: {
26 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:24:21: error: 'Spacer' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
22 |                 Spacer()
23 |                 HStack {
24 |                     Spacer()
   |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
25 |                     Button(action: {
26 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:25:21: error: 'Button' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
23 |                 HStack {
24 |                     Spacer()
25 |                     Button(action: {
   |                     |- error: 'Button' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                         withAnimation {
27 |                             showLogs.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:26:25: error: 'withAnimation' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
24 |                     Spacer()
25 |                     Button(action: {
26 |                         withAnimation {
   |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
27 |                             showLogs.toggle()
28 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:27:29: error: cannot pass as inout because setter for 'showLogs' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
25 |                     Button(action: {
26 |                         withAnimation {
27 |                             showLogs.toggle()
   |                             |- error: cannot pass as inout because setter for 'showLogs' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
28 |                         }
29 |                     }) {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:30:25: error: 'Image' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
28 |                         }
29 |                     }) {
30 |                         Image(systemName: "ladybug")
   |                         |- error: 'Image' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
31 |                             .font(.system(size: 30))
32 |                             .foregroundColor(.yellow)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:30:25: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
28 |                         }
29 |                     }) {
30 |                         Image(systemName: "ladybug")
   |                         |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                         `- note: add 'if #available' version check
31 |                             .font(.system(size: 30))
32 |                             .foregroundColor(.yellow)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:31:30: error: 'font' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
29 |                     }) {
30 |                         Image(systemName: "ladybug")
31 |                             .font(.system(size: 30))
   |                              |- error: 'font' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
32 |                             .foregroundColor(.yellow)
33 |                             .padding()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:31:36: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
29 |                     }) {
30 |                         Image(systemName: "ladybug")
31 |                             .font(.system(size: 30))
   |                                    |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                                    `- note: add 'if #available' version check
32 |                             .foregroundColor(.yellow)
33 |                             .padding()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:32:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
30 |                         Image(systemName: "ladybug")
31 |                             .font(.system(size: 30))
32 |                             .foregroundColor(.yellow)
   |                              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
33 |                             .padding()
34 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:32:47: error: 'yellow' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
30 |                         Image(systemName: "ladybug")
31 |                             .font(.system(size: 30))
32 |                             .foregroundColor(.yellow)
   |                                               |- error: 'yellow' is only available in macOS 10.15 or newer
   |                                               `- note: add 'if #available' version check
33 |                             .padding()
34 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:33:30: error: 'padding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
31 |                             .font(.system(size: 30))
32 |                             .foregroundColor(.yellow)
33 |                             .padding()
   |                              |- error: 'padding' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
34 |                     }
35 |                     .padding()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:35:22: error: 'padding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
33 |                             .padding()
34 |                     }
35 |                     .padding()
   |                      |- error: 'padding' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
36 |                 }
37 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:23:24: 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
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
21 |             VStack {
22 |                 Spacer()
23 |                 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
24 |                     Spacer()
25 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:21:20: 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
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
19 |             }
20 |
21 |             VStack {
   |                    |- 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 |                 Spacer()
23 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:15: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
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
   |                |- 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
16 |             if showLogs {
17 |                 LogView()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:46:9: error: 'ScrollView' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
   |         |- error: 'ScrollView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:46:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
   |         |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:46: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
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
   |                    |- 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
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:13: error: 'LazyVStack' is only available in macOS 11.0 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   |             |- error: 'LazyVStack' is only available in macOS 11.0 or newer
   |             `- note: add 'if #available' version check
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:13: 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
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   |             |- 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
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:36: error: 'leading' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   |                                    |- error: 'leading' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:48:17: 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
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
   |                 |- 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
49 |                     Text(log)
50 |                         .padding(.vertical, 2)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:48:17: error: 'ForEach' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
   |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
49 |                     Text(log)
50 |                         .padding(.vertical, 2)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:48:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
   |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
49 |                     Text(log)
50 |                         .padding(.vertical, 2)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:49:21: error: 'Text' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
50 |                         .padding(.vertical, 2)
51 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:50:26: error: 'padding' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
50 |                         .padding(.vertical, 2)
   |                          |- error: 'padding' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
51 |                 }
52 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:45: 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
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   |                                             |- 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
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:53:14: error: 'padding' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
51 |                 }
52 |             }
53 |             .padding()
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:55:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
53 |             .padding()
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
   |          |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
56 |         .background(Color.black.opacity(0.8))
57 |         .foregroundColor(.white)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:10: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
   |          |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |          `- note: add 'if #available' version check
57 |         .foregroundColor(.white)
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:21: error: 'Color' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
   |                     |- error: 'Color' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
57 |         .foregroundColor(.white)
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:27: error: 'black' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
   |                           |- error: 'black' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
57 |         .foregroundColor(.white)
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:33: error: 'opacity' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
   |                                 |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
57 |         .foregroundColor(.white)
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:57:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
57 |         .foregroundColor(.white)
   |          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
58 |     }
59 | }
<unknown>:0: error: cannot convert value of type 'any KeyPath<DebugLogger, [String]> & Sendable' to expected argument type 'ReferenceWritableKeyPath<DebugLogger, [String]>'
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:57:27: error: 'white' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
57 |         .foregroundColor(.white)
   |                           |- error: 'white' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
58 |     }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:78:22: error: 'OSLogMessage' is only available in macOS 11.0 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
   :
68 |     private init() {}
69 |
70 |     public func log(_ items: Any..., separator: String = " ", terminator: String = "\n", file: String = #file, line: Int = #line) {
   |                 `- note: add @available attribute to enclosing instance method
71 |         let message = items.map { String(describing: $0) }.joined(separator: separator)
72 |         let logMessage = "[\(file.split(separator: "/").last ?? ""):\(line)] \(message)"
   :
76 |
77 |         // Log using os.log
78 |         logger.debug("\(logMessage)")
   |                      |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                      `- note: add 'if #available' version check
79 |
80 |         // Add to our logs
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:78:24: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
   :
68 |     private init() {}
69 |
70 |     public func log(_ items: Any..., separator: String = " ", terminator: String = "\n", file: String = #file, line: Int = #line) {
   |                 `- note: add @available attribute to enclosing instance method
71 |         let message = items.map { String(describing: $0) }.joined(separator: separator)
72 |         let logMessage = "[\(file.split(separator: "/").last ?? ""):\(line)] \(message)"
   :
76 |
77 |         // Log using os.log
78 |         logger.debug("\(logMessage)")
   |                        |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                        `- note: add 'if #available' version check
79 |
80 |         // Add to our logs
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:82:13: error: cannot pass as inout because setter for 'logs' is only available in macOS 10.15 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
   :
68 |     private init() {}
69 |
70 |     public func log(_ items: Any..., separator: String = " ", terminator: String = "\n", file: String = #file, line: Int = #line) {
   |                 `- note: add @available attribute to enclosing instance method
71 |         let message = items.map { String(describing: $0) }.joined(separator: separator)
72 |         let logMessage = "[\(file.split(separator: "/").last ?? ""):\(line)] \(message)"
   :
80 |         // Add to our logs
81 |         DispatchQueue.main.async {
82 |             self.logs.append(logMessage)
   |             |- error: cannot pass as inout because setter for 'logs' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
83 |         }
84 |     }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module DebugView
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |     @StateObject private var logger = DebugLogger.shared
11 |
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:10:6: error: 'StateObject' is only available in macOS 11.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
11 |
12 |     public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:43:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
44 |
45 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:20: error: 'View' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:64:6: error: 'Published' is only available in macOS 10.15 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
64 |     @Published private(set) var logs: [String] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
65 |
66 |     private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "DebugView", category: "DebugLogs")
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:66:26: error: 'Logger' is only available in macOS 11.0 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
64 |     @Published private(set) var logs: [String] = []
65 |
66 |     private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "DebugView", category: "DebugLogs")
   |                          `- error: 'Logger' is only available in macOS 11.0 or newer
67 |
68 |     private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:27: error: 'ObservableObject' is only available in macOS 10.15 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              |            `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
[3/3] Compiling DebugView DebugView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |     @StateObject private var logger = DebugLogger.shared
11 |
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:10:6: error: 'StateObject' is only available in macOS 11.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
11 |
12 |     public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:43:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
44 |
45 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:20: error: 'View' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:64:6: error: 'Published' is only available in macOS 10.15 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
64 |     @Published private(set) var logs: [String] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
65 |
66 |     private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "DebugView", category: "DebugLogs")
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:66:26: error: 'Logger' is only available in macOS 11.0 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
64 |     @Published private(set) var logs: [String] = []
65 |
66 |     private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "DebugView", category: "DebugLogs")
   |                          `- error: 'Logger' is only available in macOS 11.0 or newer
67 |
68 |     private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:27: error: 'ObservableObject' is only available in macOS 10.15 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              |            `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:15:9: error: 'ZStack' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
16 |             if showLogs {
17 |                 LogView()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:18:22: error: 'transition' is only available in macOS 14.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
17 |                 LogView()
18 |                     .transition(.move(edge: .bottom))
   |                      |- error: 'transition' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
19 |             }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:18:34: error: 'move(edge:)' is only available in macOS 14.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
17 |                 LogView()
18 |                     .transition(.move(edge: .bottom))
   |                                  |- error: 'move(edge:)' is only available in macOS 14.0 or newer
   |                                  `- note: add 'if #available' version check
19 |             }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:16:25: error: 'buildIf' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   |                         |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
17 |                 LogView()
18 |                     .transition(.move(edge: .bottom))
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:19:13: error: 'buildIf' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
17 |                 LogView()
18 |                     .transition(.move(edge: .bottom))
19 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
20 |
21 |             VStack {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:21:13: error: 'VStack' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
19 |             }
20 |
21 |             VStack {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
22 |                 Spacer()
23 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:22:17: 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
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
20 |
21 |             VStack {
22 |                 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
23 |                 HStack {
24 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:22:17: error: 'Spacer' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
20 |
21 |             VStack {
22 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
23 |                 HStack {
24 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:23:17: error: 'HStack' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
21 |             VStack {
22 |                 Spacer()
23 |                 HStack {
   |                 |- error: 'HStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
24 |                     Spacer()
25 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:24:21: 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
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
22 |                 Spacer()
23 |                 HStack {
24 |                     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
25 |                     Button(action: {
26 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:24:21: error: 'Spacer' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
22 |                 Spacer()
23 |                 HStack {
24 |                     Spacer()
   |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
25 |                     Button(action: {
26 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:25:21: error: 'Button' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
23 |                 HStack {
24 |                     Spacer()
25 |                     Button(action: {
   |                     |- error: 'Button' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                         withAnimation {
27 |                             showLogs.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:26:25: error: 'withAnimation' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
24 |                     Spacer()
25 |                     Button(action: {
26 |                         withAnimation {
   |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
27 |                             showLogs.toggle()
28 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:27:29: error: cannot pass as inout because setter for 'showLogs' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
25 |                     Button(action: {
26 |                         withAnimation {
27 |                             showLogs.toggle()
   |                             |- error: cannot pass as inout because setter for 'showLogs' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
28 |                         }
29 |                     }) {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:30:25: error: 'Image' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
28 |                         }
29 |                     }) {
30 |                         Image(systemName: "ladybug")
   |                         |- error: 'Image' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
31 |                             .font(.system(size: 30))
32 |                             .foregroundColor(.yellow)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:30:25: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
28 |                         }
29 |                     }) {
30 |                         Image(systemName: "ladybug")
   |                         |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                         `- note: add 'if #available' version check
31 |                             .font(.system(size: 30))
32 |                             .foregroundColor(.yellow)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:31:30: error: 'font' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
29 |                     }) {
30 |                         Image(systemName: "ladybug")
31 |                             .font(.system(size: 30))
   |                              |- error: 'font' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
32 |                             .foregroundColor(.yellow)
33 |                             .padding()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:31:36: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
29 |                     }) {
30 |                         Image(systemName: "ladybug")
31 |                             .font(.system(size: 30))
   |                                    |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                                    `- note: add 'if #available' version check
32 |                             .foregroundColor(.yellow)
33 |                             .padding()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:32:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
30 |                         Image(systemName: "ladybug")
31 |                             .font(.system(size: 30))
32 |                             .foregroundColor(.yellow)
   |                              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
33 |                             .padding()
34 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:32:47: error: 'yellow' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
30 |                         Image(systemName: "ladybug")
31 |                             .font(.system(size: 30))
32 |                             .foregroundColor(.yellow)
   |                                               |- error: 'yellow' is only available in macOS 10.15 or newer
   |                                               `- note: add 'if #available' version check
33 |                             .padding()
34 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:33:30: error: 'padding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
31 |                             .font(.system(size: 30))
32 |                             .foregroundColor(.yellow)
33 |                             .padding()
   |                              |- error: 'padding' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
34 |                     }
35 |                     .padding()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:35:22: error: 'padding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
33 |                             .padding()
34 |                     }
35 |                     .padding()
   |                      |- error: 'padding' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
36 |                 }
37 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:23:24: 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
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
21 |             VStack {
22 |                 Spacer()
23 |                 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
24 |                     Spacer()
25 |                     Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:21:20: 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
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
16 |             if showLogs {
   :
19 |             }
20 |
21 |             VStack {
   |                    |- 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 |                 Spacer()
23 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:15: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
 6 | import SwiftUI
 7 |
 8 | public struct DebugView: View {
   |               `- note: add @available attribute to enclosing struct
 9 |     @State private var showLogs = false
10 |     @StateObject private var logger = DebugLogger.shared
   :
12 |     public init() {}
13 |
14 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
15 |         ZStack {
   |                |- 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
16 |             if showLogs {
17 |                 LogView()
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:46:9: error: 'ScrollView' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
   |         |- error: 'ScrollView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:46:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
   |         |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:46: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
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
   |                    |- 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
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:13: error: 'LazyVStack' is only available in macOS 11.0 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   |             |- error: 'LazyVStack' is only available in macOS 11.0 or newer
   |             `- note: add 'if #available' version check
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:13: 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
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   |             |- 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
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:36: error: 'leading' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   |                                    |- error: 'leading' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:48:17: 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
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
   |                 |- 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
49 |                     Text(log)
50 |                         .padding(.vertical, 2)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:48:17: error: 'ForEach' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
   |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
49 |                     Text(log)
50 |                         .padding(.vertical, 2)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:48:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
   |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
49 |                     Text(log)
50 |                         .padding(.vertical, 2)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:49:21: error: 'Text' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
50 |                         .padding(.vertical, 2)
51 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:50:26: error: 'padding' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
50 |                         .padding(.vertical, 2)
   |                          |- error: 'padding' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
51 |                 }
52 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:45: 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
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   |                                             |- 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
48 |                 ForEach(logger.logs, id: \.self) { log in
49 |                     Text(log)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:53:14: error: 'padding' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
51 |                 }
52 |             }
53 |             .padding()
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:55:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
53 |             .padding()
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
   |          |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
56 |         .background(Color.black.opacity(0.8))
57 |         .foregroundColor(.white)
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:10: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
   |          |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |          `- note: add 'if #available' version check
57 |         .foregroundColor(.white)
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:21: error: 'Color' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
   |                     |- error: 'Color' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
57 |         .foregroundColor(.white)
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:27: error: 'black' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
   |                           |- error: 'black' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
57 |         .foregroundColor(.white)
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:33: error: 'opacity' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
54 |         }
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
   |                                 |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
57 |         .foregroundColor(.white)
58 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:57:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
57 |         .foregroundColor(.white)
   |          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
58 |     }
59 | }
<unknown>:0: error: cannot convert value of type 'KeyPath<DebugLogger, [String]>' to expected argument type 'ReferenceWritableKeyPath<DebugLogger, [String]>'
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:57:27: error: 'white' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct LogView: View {
   |                `- note: add @available attribute to enclosing struct
43 |     @ObservedObject private var logger = DebugLogger.shared
44 |
45 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
46 |         ScrollView {
47 |             LazyVStack(alignment: .leading) {
   :
55 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
56 |         .background(Color.black.opacity(0.8))
57 |         .foregroundColor(.white)
   |                           |- error: 'white' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
58 |     }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:78:22: error: 'OSLogMessage' is only available in macOS 11.0 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
   :
68 |     private init() {}
69 |
70 |     public func log(_ items: Any..., separator: String = " ", terminator: String = "\n", file: String = #file, line: Int = #line) {
   |                 `- note: add @available attribute to enclosing instance method
71 |         let message = items.map { String(describing: $0) }.joined(separator: separator)
72 |         let logMessage = "[\(file.split(separator: "/").last ?? ""):\(line)] \(message)"
   :
76 |
77 |         // Log using os.log
78 |         logger.debug("\(logMessage)")
   |                      |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                      `- note: add 'if #available' version check
79 |
80 |         // Add to our logs
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:78:24: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
   :
68 |     private init() {}
69 |
70 |     public func log(_ items: Any..., separator: String = " ", terminator: String = "\n", file: String = #file, line: Int = #line) {
   |                 `- note: add @available attribute to enclosing instance method
71 |         let message = items.map { String(describing: $0) }.joined(separator: separator)
72 |         let logMessage = "[\(file.split(separator: "/").last ?? ""):\(line)] \(message)"
   :
76 |
77 |         // Log using os.log
78 |         logger.debug("\(logMessage)")
   |                        |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                        `- note: add 'if #available' version check
79 |
80 |         // Add to our logs
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:82:13: error: cannot pass as inout because setter for 'logs' is only available in macOS 10.15 or newer
59 | }
60 |
61 | public class DebugLogger: ObservableObject {
   |              `- note: add @available attribute to enclosing class
62 |     public static let shared = DebugLogger()
63 |
   :
68 |     private init() {}
69 |
70 |     public func log(_ items: Any..., separator: String = " ", terminator: String = "\n", file: String = #file, line: Int = #line) {
   |                 `- note: add @available attribute to enclosing instance method
71 |         let message = items.map { String(describing: $0) }.joined(separator: separator)
72 |         let logMessage = "[\(file.split(separator: "/").last ?? ""):\(line)] \(message)"
   :
80 |         // Add to our logs
81 |         DispatchQueue.main.async {
82 |             self.logs.append(logMessage)
   |             |- error: cannot pass as inout because setter for 'logs' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
83 |         }
84 |     }
BUILD FAILURE 6.1 macosSpm