The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DragAndDropKit, reference 1.0.1 (df0224), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 08:24:44 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/insub4067/DragAndDropKit.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/insub4067/DragAndDropKit
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at df02247 Update Package.swift
Cloned https://github.com/insub4067/DragAndDropKit.git
Revision (git rev-parse @):
df02247a2070e8b4ea20a6171c22ed4615419c8b
SUCCESS checkout https://github.com/insub4067/DragAndDropKit.git at 1.0.1
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "draganddropkit",
      "name": "DragAndDropKit",
      "url": "https://github.com/insub4067/DragAndDropKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DragAndDropKit",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/insub4067/DragAndDropKit.git
[1/37] Fetching draganddropkit
Fetched https://github.com/insub4067/DragAndDropKit.git from cache (0.68s)
Creating working copy for https://github.com/insub4067/DragAndDropKit.git
Working copy of https://github.com/insub4067/DragAndDropKit.git resolved at 1.0.1 (df02247)
warning: '.resolve-product-dependencies': dependency 'draganddropkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/insub4067/DragAndDropKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module DragAndDropKit
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
13 |     @Binding var items: [Item]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |     @Binding var current: Item?
15 |     let onRelocate: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
13 |     @Binding var items: [Item]
14 |     @Binding var current: Item?
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
15 |     let onRelocate: (() -> Void)?
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:19:16: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
15 |     let onRelocate: (() -> Void)?
16 |
17 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
18 |         item: Item,
19 |         items: Binding<[Item]>,
   |                `- error: 'Binding' is only available in macOS 10.15 or newer
20 |         current: Binding<Item?> = .constant(nil),
21 |         onRelocate: (() -> Void)?)
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
15 |     let onRelocate: (() -> Void)?
16 |
17 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
18 |         item: Item,
19 |         items: Binding<[Item]>,
20 |         current: Binding<Item?> = .constant(nil),
   |                  `- error: 'Binding' is only available in macOS 10.15 or newer
21 |         onRelocate: (() -> Void)?)
22 |     {
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:35: error: 'DropInfo' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
27 |     }
28 |
29 |     public func dropEntered(info: DropInfo) {
   |                 |                 `- error: 'DropInfo' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
30 |         guard item != current else { return }
31 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:35: error: 'DropInfo' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
44 |     }
45 |
46 |     public func dropUpdated(info: DropInfo) -> DropProposal? {
   |                 |                 `- error: 'DropInfo' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
47 |         DropProposal(operation: .move)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:48: error: 'DropProposal' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
44 |     }
45 |
46 |     public func dropUpdated(info: DropInfo) -> DropProposal? {
   |                 |                              `- error: 'DropProposal' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
47 |         DropProposal(operation: .move)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:35: error: 'DropInfo' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
48 |     }
49 |
50 |     public func performDrop(info: DropInfo) -> Bool {
   |                 |                 `- error: 'DropInfo' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
51 |         self.current = nil
52 |         return true
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:71: error: 'Identifiable' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        |                                                              `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:53: error: 'Identifiable' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       |                             `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:16:16: error: 'Binding' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
16 |         items: Binding<[Item]>,
   |                `- error: 'Binding' is only available in macOS 10.15 or newer
17 |         currentDragging: Binding<Item?>,
18 |         onRelocate: (() -> Void)? = .none
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:17:26: error: 'Binding' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
16 |         items: Binding<[Item]>,
17 |         currentDragging: Binding<Item?>,
   |                          `- error: 'Binding' is only available in macOS 10.15 or newer
18 |         onRelocate: (() -> Void)? = .none
19 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:19:15: error: 'View' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
   :
17 |         currentDragging: Binding<Item?>,
18 |         onRelocate: (() -> Void)? = .none
19 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
20 |         if isDraggable {
21 |             self
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |      |                `- note: add '@available' attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
[4/5] Compiling DragAndDropKit DragAndDropDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
13 |     @Binding var items: [Item]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |     @Binding var current: Item?
15 |     let onRelocate: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
13 |     @Binding var items: [Item]
14 |     @Binding var current: Item?
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
15 |     let onRelocate: (() -> Void)?
16 |
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:19:16: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
15 |     let onRelocate: (() -> Void)?
16 |
17 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
18 |         item: Item,
19 |         items: Binding<[Item]>,
   |                `- error: 'Binding' is only available in macOS 10.15 or newer
20 |         current: Binding<Item?> = .constant(nil),
21 |         onRelocate: (() -> Void)?)
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
15 |     let onRelocate: (() -> Void)?
16 |
17 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
18 |         item: Item,
19 |         items: Binding<[Item]>,
20 |         current: Binding<Item?> = .constant(nil),
   |                  `- error: 'Binding' is only available in macOS 10.15 or newer
21 |         onRelocate: (() -> Void)?)
22 |     {
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:35: error: 'DropInfo' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
27 |     }
28 |
29 |     public func dropEntered(info: DropInfo) {
   |                 |                 `- error: 'DropInfo' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
30 |         guard item != current else { return }
31 |         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:35: error: 'DropInfo' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
44 |     }
45 |
46 |     public func dropUpdated(info: DropInfo) -> DropProposal? {
   |                 |                 `- error: 'DropInfo' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
47 |         DropProposal(operation: .move)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:48: error: 'DropProposal' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
44 |     }
45 |
46 |     public func dropUpdated(info: DropInfo) -> DropProposal? {
   |                 |                              `- error: 'DropProposal' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
47 |         DropProposal(operation: .move)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:35: error: 'DropInfo' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
48 |     }
49 |
50 |     public func performDrop(info: DropInfo) -> Bool {
   |                 |                 `- error: 'DropInfo' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
51 |         self.current = nil
52 |         return true
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:71: error: 'Identifiable' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        |                                                              `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:32:13: error: 'withAnimation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
27 |     }
28 |
29 |     public func dropEntered(info: DropInfo) {
   |                 `- note: add '@available' attribute to enclosing instance method
30 |         guard item != current else { return }
31 |         DispatchQueue.main.async {
32 |             withAnimation {
   |             |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
33 |                 let from = items.firstIndex(of: current!)!
34 |                 let to = items.firstIndex(of: item)!
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:36:21: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
27 |     }
28 |
29 |     public func dropEntered(info: DropInfo) {
   |                 `- note: add '@available' attribute to enclosing instance method
30 |         guard item != current else { return }
31 |         DispatchQueue.main.async {
   :
34 |                 let to = items.firstIndex(of: item)!
35 |                 if items[to].id != current!.id {
36 |                     items.move(
   |                     |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
37 |                         fromOffsets: IndexSet(integer: from),
38 |                         toOffset: to > from ? to + 1 : to
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:36:27: error: 'move(fromOffsets:toOffset:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
27 |     }
28 |
29 |     public func dropEntered(info: DropInfo) {
   |                 `- note: add '@available' attribute to enclosing instance method
30 |         guard item != current else { return }
31 |         DispatchQueue.main.async {
   :
34 |                 let to = items.firstIndex(of: item)!
35 |                 if items[to].id != current!.id {
36 |                     items.move(
   |                           |- error: 'move(fromOffsets:toOffset:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
37 |                         fromOffsets: IndexSet(integer: from),
38 |                         toOffset: to > from ? to + 1 : to
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:47:9: error: 'DropProposal' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
44 |     }
45 |
46 |     public func dropUpdated(info: DropInfo) -> DropProposal? {
   |                 `- note: add '@available' attribute to enclosing instance method
47 |         DropProposal(operation: .move)
   |         |- error: 'DropProposal' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
48 |     }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:51:9: error: setter for 'current' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
   |        `- note: add '@available' attribute to enclosing generic struct
11 |
12 |     let item: Item
   :
48 |     }
49 |
50 |     public func performDrop(info: DropInfo) -> Bool {
   |                 `- note: add '@available' attribute to enclosing instance method
51 |         self.current = nil
   |         |- error: setter for 'current' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
52 |         return true
53 |     }
[5/5] Compiling DragAndDropKit View+.swift
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:53: error: 'Identifiable' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       |                             `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:16:16: error: 'Binding' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
16 |         items: Binding<[Item]>,
   |                `- error: 'Binding' is only available in macOS 10.15 or newer
17 |         currentDragging: Binding<Item?>,
18 |         onRelocate: (() -> Void)? = .none
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:17:26: error: 'Binding' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
16 |         items: Binding<[Item]>,
17 |         currentDragging: Binding<Item?>,
   |                          `- error: 'Binding' is only available in macOS 10.15 or newer
18 |         onRelocate: (() -> Void)? = .none
19 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:19:15: error: 'View' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
   :
17 |         currentDragging: Binding<Item?>,
18 |         onRelocate: (() -> Void)? = .none
19 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
20 |         if isDraggable {
21 |             self
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |      |                `- note: add '@available' attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:22:18: error: 'onDrag' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
   :
20 |         if isDraggable {
21 |             self
22 |                 .onDrag({
   |                  |- error: 'onDrag' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
23 |                     currentDragging.wrappedValue = item
24 |                     return NSItemProvider(object: "\(item.id)" as NSString)
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:26:18: error: 'onDrop(of:delegate:)' is only available in macOS 11.0 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
   :
24 |                     return NSItemProvider(object: "\(item.id)" as NSString)
25 |                 })
26 |                 .onDrop(
   |                  |- error: 'onDrop(of:delegate:)' is only available in macOS 11.0 or newer
   |                  `- note: add 'if #available' version check
27 |                     of: [UTType.text],
28 |                     delegate: DragAndDropDelegate(
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:27:26: error: 'UTType' is only available in macOS 11.0 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
   :
25 |                 })
26 |                 .onDrop(
27 |                     of: [UTType.text],
   |                          |- error: 'UTType' is only available in macOS 11.0 or newer
   |                          `- note: add 'if #available' version check
28 |                     delegate: DragAndDropDelegate(
29 |                         item: item,
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:27:33: error: 'text' is only available in macOS 11.0 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
   :
25 |                 })
26 |                 .onDrop(
27 |                     of: [UTType.text],
   |                                 |- error: 'text' is only available in macOS 11.0 or newer
   |                                 `- note: add 'if #available' version check
28 |                     delegate: DragAndDropDelegate(
29 |                         item: item,
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:20:24: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
   :
18 |         onRelocate: (() -> Void)? = .none
19 |     ) -> some View {
20 |         if isDraggable {
   |                        |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
21 |             self
22 |                 .onDrag({
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:35:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
   :
33 |                     )
34 |                 )
35 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
36 |             self
37 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:19:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import UniformTypeIdentifiers
10 |
11 | public extension View {
   |        `- note: add '@available' attribute to enclosing extension
12 |
13 |     @ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
   |                       `- note: add '@available' attribute to enclosing instance method
14 |         _ isDraggable: Bool = true,
15 |         item: Item,
   :
17 |         currentDragging: Binding<Item?>,
18 |         onRelocate: (() -> Void)? = .none
19 |     ) -> some View {
   |                    |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
20 |         if isDraggable {
21 |             self
BUILD FAILURE 6.3 macosSpm