Build Information
Failed to build DragAndDropKit with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.32.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/insub4067/DragAndDropKit.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/insub4067/DragAndDropKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/insub4067/DragAndDropKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module DragAndDropKit
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var items: [Item]
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var current: Item?
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:19:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item]>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:17:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
current: Binding<Item?> = .constant(nil),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:17:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:17: note: add @available attribute to enclosing instance method
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:48: error: 'DropProposal' is only available in macOS 10.15 or newer
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:17: note: add @available attribute to enclosing instance method
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func performDrop(info: DropInfo) -> Bool {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:17: note: add @available attribute to enclosing instance method
public func performDrop(info: DropInfo) -> Bool {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:71: error: 'Identifiable' is only available in macOS 10.15 or newer
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:53: error: 'Identifiable' is only available in macOS 10.15 or newer
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:16:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item]>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:17:26: error: 'Binding' is only available in macOS 10.15 or newer
currentDragging: Binding<Item?>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:19:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
[2/3] Compiling DragAndDropKit DragAndDropDelegate.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var items: [Item]
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var current: Item?
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:19:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item]>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:17:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
current: Binding<Item?> = .constant(nil),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:17:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:17: note: add @available attribute to enclosing instance method
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:48: error: 'DropProposal' is only available in macOS 10.15 or newer
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:17: note: add @available attribute to enclosing instance method
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func performDrop(info: DropInfo) -> Bool {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:17: note: add @available attribute to enclosing instance method
public func performDrop(info: DropInfo) -> Bool {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:71: error: 'Identifiable' is only available in macOS 10.15 or newer
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:32:13: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:32:13: note: add 'if #available' version check
withAnimation {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:35:20: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
if items[to].id != current!.id {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:35:20: note: add 'if #available' version check
if items[to].id != current!.id {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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
items.move(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:36:21: note: add 'if #available' version check
items.move(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:36:27: error: 'move(fromOffsets:toOffset:)' is only available in macOS 10.15 or newer
items.move(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:36:27: note: add 'if #available' version check
items.move(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:47:9: error: 'DropProposal' is only available in macOS 10.15 or newer
DropProposal(operation: .move)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:47:9: note: add 'if #available' version check
DropProposal(operation: .move)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:17: note: add @available attribute to enclosing instance method
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:51:9: error: setter for 'current' is only available in macOS 10.15 or newer
self.current = nil
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:51:9: note: add 'if #available' version check
self.current = nil
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:17: note: add @available attribute to enclosing instance method
public func performDrop(info: DropInfo) -> Bool {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
[3/3] Compiling DragAndDropKit View+.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:53: error: 'Identifiable' is only available in macOS 10.15 or newer
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:16:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item]>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:17:26: error: 'Binding' is only available in macOS 10.15 or newer
currentDragging: Binding<Item?>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:19:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:22:18: error: 'onDrag' is only available in macOS 10.15 or newer
.onDrag({
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:22:18: note: add 'if #available' version check
.onDrag({
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:26:18: error: 'onDrop(of:delegate:)' is only available in macOS 11.0 or newer
.onDrop(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:26:18: note: add 'if #available' version check
.onDrop(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:27:26: error: 'UTType' is only available in macOS 11.0 or newer
of: [UTType.text],
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:27:26: note: add 'if #available' version check
of: [UTType.text],
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:27:33: error: 'text' is only available in macOS 11.0 or newer
of: [UTType.text],
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:27:33: note: add 'if #available' version check
of: [UTType.text],
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:20:24: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if isDraggable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:20:24: note: add 'if #available' version check
if isDraggable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:35:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:35:16: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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
) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:19:20: note: add 'if #available' version check
) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module DragAndDropKit
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var items: [Item]
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var current: Item?
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:19:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item]>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:17:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
current: Binding<Item?> = .constant(nil),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:17:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:17: note: add @available attribute to enclosing instance method
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:48: error: 'DropProposal' is only available in macOS 10.15 or newer
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:17: note: add @available attribute to enclosing instance method
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func performDrop(info: DropInfo) -> Bool {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:17: note: add @available attribute to enclosing instance method
public func performDrop(info: DropInfo) -> Bool {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:71: error: 'Identifiable' is only available in macOS 10.15 or newer
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:53: error: 'Identifiable' is only available in macOS 10.15 or newer
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:16:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item]>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:17:26: error: 'Binding' is only available in macOS 10.15 or newer
currentDragging: Binding<Item?>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:19:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
[2/3] Compiling DragAndDropKit View+.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:53: error: 'Identifiable' is only available in macOS 10.15 or newer
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:16:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item]>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:17:26: error: 'Binding' is only available in macOS 10.15 or newer
currentDragging: Binding<Item?>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:19:15: error: 'View' is only available in macOS 10.15 or newer
) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:22:18: error: 'onDrag' is only available in macOS 10.15 or newer
.onDrag({
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:22:18: note: add 'if #available' version check
.onDrag({
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:26:18: error: 'onDrop(of:delegate:)' is only available in macOS 11.0 or newer
.onDrop(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:26:18: note: add 'if #available' version check
.onDrop(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:27:26: error: 'UTType' is only available in macOS 11.0 or newer
of: [UTType.text],
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:27:26: note: add 'if #available' version check
of: [UTType.text],
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:27:33: error: 'text' is only available in macOS 11.0 or newer
of: [UTType.text],
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:27:33: note: add 'if #available' version check
of: [UTType.text],
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:20:24: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if isDraggable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:20:24: note: add 'if #available' version check
if isDraggable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:35:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:35:16: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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
) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:19:20: note: add 'if #available' version check
) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:13:23: note: add @available attribute to enclosing instance method
@ViewBuilder func dragAndDrop<Item: Equatable & Identifiable> (
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/View+.swift:11:8: note: add @available attribute to enclosing extension
public extension View {
^
[3/3] Compiling DragAndDropKit DragAndDropDelegate.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var items: [Item]
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var current: Item?
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:19:16: error: 'Binding' is only available in macOS 10.15 or newer
items: Binding<[Item]>,
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:17:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
current: Binding<Item?> = .constant(nil),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:17:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:17: note: add @available attribute to enclosing instance method
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:48: error: 'DropProposal' is only available in macOS 10.15 or newer
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:17: note: add @available attribute to enclosing instance method
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:35: error: 'DropInfo' is only available in macOS 10.15 or newer
public func performDrop(info: DropInfo) -> Bool {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:17: note: add @available attribute to enclosing instance method
public func performDrop(info: DropInfo) -> Bool {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:71: error: 'Identifiable' is only available in macOS 10.15 or newer
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:32:13: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:32:13: note: add 'if #available' version check
withAnimation {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:35:20: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
if items[to].id != current!.id {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:35:20: note: add 'if #available' version check
if items[to].id != current!.id {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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
items.move(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:36:21: note: add 'if #available' version check
items.move(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:36:27: error: 'move(fromOffsets:toOffset:)' is only available in macOS 10.15 or newer
items.move(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:36:27: note: add 'if #available' version check
items.move(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:29:17: note: add @available attribute to enclosing instance method
public func dropEntered(info: DropInfo) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:47:9: error: 'DropProposal' is only available in macOS 10.15 or newer
DropProposal(operation: .move)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:47:9: note: add 'if #available' version check
DropProposal(operation: .move)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:46:17: note: add @available attribute to enclosing instance method
public func dropUpdated(info: DropInfo) -> DropProposal? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:51:9: error: setter for 'current' is only available in macOS 10.15 or newer
self.current = nil
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:51:9: note: add 'if #available' version check
self.current = nil
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:50:17: note: add @available attribute to enclosing instance method
public func performDrop(info: DropInfo) -> Bool {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DragAndDropKit/DragAndDropDelegate.swift:10:8: note: add @available attribute to enclosing generic struct
struct DragAndDropDelegate<Item: Equatable>: DropDelegate where Item: Identifiable {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm