The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build DebugView, reference main (14f10c), with Swift 5.10 for macOS (SPM) on 16 Aug 2024 06:57:19 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.49.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huabin/DebugView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/huabin/DebugView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 14f10cd Update README.md
Cloned https://github.com/huabin/DebugView.git
Revision (git rev-parse @):
14f10cdf3d340dfae361e231a14696645d13d0dc
SUCCESS checkout https://github.com/huabin/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/huabin/DebugView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DebugView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/huabin/DebugView.git
[1/14] Fetching debugview
Fetched https://github.com/huabin/DebugView.git from cache (1.03s)
Creating working copy for https://github.com/huabin/DebugView.git
Working copy of https://github.com/huabin/DebugView.git resolved at main (14f10cd)
warning: '.resolve-product-dependencies': dependency 'debugview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/huabin/DebugView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.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
    @State private var showLogs = false
     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:10:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject private var logger = DebugLogger.shared
     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
    public var body: some View {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:43:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
    @ObservedObject private var logger = DebugLogger.shared
     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:20: error: 'View' is only available in macOS 10.15 or newer
    var body: some View {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:64:6: error: 'Published' is only available in macOS 10.15 or newer
    @Published private(set) var logs: [String] = []
     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:14: note: add @available attribute to enclosing class
public class DebugLogger: ObservableObject {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:66:26: error: 'Logger' is only available in macOS 11.0 or newer
    private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "DebugView", category: "DebugLogs")
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:14: note: add @available attribute to enclosing class
public class DebugLogger: ObservableObject {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:27: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class DebugLogger: ObservableObject {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:14: note: add @available attribute to enclosing class
public class DebugLogger: ObservableObject {
             ^
<unknown>:0: error: key path value type 'KeyPath<DebugLogger, [String]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<DebugLogger, [String]>'
[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
    @State private var showLogs = false
     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:10:6: error: 'StateObject' is only available in macOS 11.0 or newer
    @StateObject private var logger = DebugLogger.shared
     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
    public var body: some View {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:43:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
    @ObservedObject private var logger = DebugLogger.shared
     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:20: error: 'View' is only available in macOS 10.15 or newer
    var body: some View {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:64:6: error: 'Published' is only available in macOS 10.15 or newer
    @Published private(set) var logs: [String] = []
     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:14: note: add @available attribute to enclosing class
public class DebugLogger: ObservableObject {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:66:26: error: 'Logger' is only available in macOS 11.0 or newer
    private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "DebugView", category: "DebugLogs")
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:14: note: add @available attribute to enclosing class
public class DebugLogger: ObservableObject {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:27: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class DebugLogger: ObservableObject {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:14: note: add @available attribute to enclosing class
public class DebugLogger: ObservableObject {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:15:9: error: 'ZStack' is only available in macOS 10.15 or newer
        ZStack {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:15:9: note: add 'if #available' version check
        ZStack {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:18:22: error: 'transition' is only available in macOS 14.0 or newer
                    .transition(.move(edge: .bottom))
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:18:22: note: add 'if #available' version check
                    .transition(.move(edge: .bottom))
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:18:34: error: 'move(edge:)' is only available in macOS 14.0 or newer
                    .transition(.move(edge: .bottom))
                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:18:34: note: add 'if #available' version check
                    .transition(.move(edge: .bottom))
                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:16:25: error: 'buildIf' is only available in macOS 10.15 or newer
            if showLogs {
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:16:25: note: add 'if #available' version check
            if showLogs {
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:19:13: error: 'buildIf' is only available in macOS 10.15 or newer
            }
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:19:13: note: add 'if #available' version check
            }
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:21:13: error: 'VStack' is only available in macOS 10.15 or newer
            VStack {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:21:13: note: add 'if #available' version check
            VStack {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/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
                Spacer()
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:22:17: note: add 'if #available' version check
                Spacer()
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:22:17: error: 'Spacer' is only available in macOS 10.15 or newer
                Spacer()
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:22:17: note: add 'if #available' version check
                Spacer()
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:23:17: error: 'HStack' is only available in macOS 10.15 or newer
                HStack {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:23:17: note: add 'if #available' version check
                HStack {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/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
                    Spacer()
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:24:21: note: add 'if #available' version check
                    Spacer()
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:24:21: error: 'Spacer' is only available in macOS 10.15 or newer
                    Spacer()
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:24:21: note: add 'if #available' version check
                    Spacer()
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:25:21: error: 'Button' is only available in macOS 10.15 or newer
                    Button(action: {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:25:21: note: add 'if #available' version check
                    Button(action: {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:26:25: error: 'withAnimation' is only available in macOS 10.15 or newer
                        withAnimation {
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:26:25: note: add 'if #available' version check
                        withAnimation {
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/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
                            showLogs.toggle()
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:27:29: note: add 'if #available' version check
                            showLogs.toggle()
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:30:25: error: 'Image' is only available in macOS 10.15 or newer
                        Image(systemName: "ladybug")
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:30:25: note: add 'if #available' version check
                        Image(systemName: "ladybug")
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:30:25: error: 'init(systemName:)' is only available in macOS 11.0 or newer
                        Image(systemName: "ladybug")
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:30:25: note: add 'if #available' version check
                        Image(systemName: "ladybug")
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:31:30: error: 'font' is only available in macOS 10.15 or newer
                            .font(.system(size: 30))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:31:30: note: add 'if #available' version check
                            .font(.system(size: 30))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/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
                            .font(.system(size: 30))
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:31:36: note: add 'if #available' version check
                            .font(.system(size: 30))
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:32:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
                            .foregroundColor(.yellow)
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:32:30: note: add 'if #available' version check
                            .foregroundColor(.yellow)
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:32:47: error: 'yellow' is only available in macOS 10.15 or newer
                            .foregroundColor(.yellow)
                                              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:32:47: note: add 'if #available' version check
                            .foregroundColor(.yellow)
                                              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:33:30: error: 'padding' is only available in macOS 10.15 or newer
                            .padding()
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:33:30: note: add 'if #available' version check
                            .padding()
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:35:22: error: 'padding' is only available in macOS 10.15 or newer
                    .padding()
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:35:22: note: add 'if #available' version check
                    .padding()
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/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
                HStack {
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:23:24: note: add 'if #available' version check
                HStack {
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/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
            VStack {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:21:20: note: add 'if #available' version check
            VStack {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/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
        ZStack {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:15:16: note: add 'if #available' version check
        ZStack {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:14:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:8:15: note: add @available attribute to enclosing struct
public struct DebugView: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:46:9: error: 'ScrollView' is only available in macOS 10.15 or newer
        ScrollView {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:46:9: note: add 'if #available' version check
        ScrollView {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:46:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
        ScrollView {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:46:9: note: add 'if #available' version check
        ScrollView {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/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
        ScrollView {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:46:20: note: add 'if #available' version check
        ScrollView {
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:13: error: 'LazyVStack' is only available in macOS 11.0 or newer
            LazyVStack(alignment: .leading) {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:13: note: add 'if #available' version check
            LazyVStack(alignment: .leading) {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/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
            LazyVStack(alignment: .leading) {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:13: note: add 'if #available' version check
            LazyVStack(alignment: .leading) {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:36: error: 'leading' is only available in macOS 10.15 or newer
            LazyVStack(alignment: .leading) {
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:36: note: add 'if #available' version check
            LazyVStack(alignment: .leading) {
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/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
                ForEach(logger.logs, id: \.self) { log in
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:48:17: note: add 'if #available' version check
                ForEach(logger.logs, id: \.self) { log in
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:48:17: error: 'ForEach' is only available in macOS 10.15 or newer
                ForEach(logger.logs, id: \.self) { log in
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:48:17: note: add 'if #available' version check
                ForEach(logger.logs, id: \.self) { log in
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/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
                ForEach(logger.logs, id: \.self) { log in
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:48:17: note: add 'if #available' version check
                ForEach(logger.logs, id: \.self) { log in
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:49:21: error: 'Text' is only available in macOS 10.15 or newer
                    Text(log)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:49:21: note: add 'if #available' version check
                    Text(log)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:50:26: error: 'padding' is only available in macOS 10.15 or newer
                        .padding(.vertical, 2)
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:50:26: note: add 'if #available' version check
                        .padding(.vertical, 2)
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/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
            LazyVStack(alignment: .leading) {
                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:47:45: note: add 'if #available' version check
            LazyVStack(alignment: .leading) {
                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:53:14: error: 'padding' is only available in macOS 10.15 or newer
            .padding()
             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:53:14: note: add 'if #available' version check
            .padding()
             ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/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
        .frame(maxWidth: .infinity, maxHeight: .infinity)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:55:10: note: add 'if #available' version check
        .frame(maxWidth: .infinity, maxHeight: .infinity)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:10: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
        .background(Color.black.opacity(0.8))
         ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:10: note: add 'if #available' version check
        .background(Color.black.opacity(0.8))
         ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:21: error: 'Color' is only available in macOS 10.15 or newer
        .background(Color.black.opacity(0.8))
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:21: note: add 'if #available' version check
        .background(Color.black.opacity(0.8))
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:27: error: 'black' is only available in macOS 10.15 or newer
        .background(Color.black.opacity(0.8))
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:27: note: add 'if #available' version check
        .background(Color.black.opacity(0.8))
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:33: error: 'opacity' is only available in macOS 10.15 or newer
        .background(Color.black.opacity(0.8))
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:56:33: note: add 'if #available' version check
        .background(Color.black.opacity(0.8))
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:57:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
        .foregroundColor(.white)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:57:10: note: add 'if #available' version check
        .foregroundColor(.white)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:57:27: error: 'white' is only available in macOS 10.15 or newer
        .foregroundColor(.white)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:57:27: note: add 'if #available' version check
        .foregroundColor(.white)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:45:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:42:16: note: add @available attribute to enclosing struct
private struct LogView: View {
               ^
<unknown>:0: error: key path value type 'KeyPath<DebugLogger, [String]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<DebugLogger, [String]>'
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:78:22: error: 'OSLogMessage' is only available in macOS 11.0 or newer
        logger.debug("\(logMessage)")
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:78:22: note: add 'if #available' version check
        logger.debug("\(logMessage)")
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:70:17: note: add @available attribute to enclosing instance method
    public func log(_ items: Any..., separator: String = " ", terminator: String = "\n", file: String = #file, line: Int = #line) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:14: note: add @available attribute to enclosing class
public class DebugLogger: ObservableObject {
             ^
/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
        logger.debug("\(logMessage)")
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:78:24: note: add 'if #available' version check
        logger.debug("\(logMessage)")
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:70:17: note: add @available attribute to enclosing instance method
    public func log(_ items: Any..., separator: String = " ", terminator: String = "\n", file: String = #file, line: Int = #line) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:14: note: add @available attribute to enclosing class
public class DebugLogger: ObservableObject {
             ^
/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
            self.logs.append(logMessage)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:82:13: note: add 'if #available' version check
            self.logs.append(logMessage)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:70:17: note: add @available attribute to enclosing instance method
    public func log(_ items: Any..., separator: String = " ", terminator: String = "\n", file: String = #file, line: Int = #line) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DebugView/DebugView.swift:61:14: note: add @available attribute to enclosing class
public class DebugLogger: ObservableObject {
             ^
error: fatalError
BUILD FAILURE 5.10 macosSpm