The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build ModalPresentationView with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thoughtbot/modalpresentationview.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/thoughtbot/modalpresentationview
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c1e1ca1 Add .swift-version
Cloned https://github.com/thoughtbot/modalpresentationview.git
Revision (git rev-parse @):
c1e1ca1fe990a667ca71c5e3cebeafaef038fcf6
SUCCESS checkout https://github.com/thoughtbot/modalpresentationview.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/thoughtbot/modalpresentationview.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Emitting module ModalPresentationView
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:12:29: error: 'AnyView' is only available in macOS 10.15 or newer
  static var defaultValue: (AnyView) -> Void {
                            ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:12:14: note: add @available attribute to enclosing static property
  static var defaultValue: (AnyView) -> Void {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:11:6: note: add @available attribute to enclosing enum
enum ModalPresentationActionKey: EnvironmentKey {
     ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:25:33: error: 'AnyView' is only available in macOS 10.15 or newer
  var modalPresentationAction: (AnyView) -> Void {
                                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:25:7: note: add @available attribute to enclosing property
  var modalPresentationAction: (AnyView) -> Void {
      ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
          ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:3:32: error: 'Modified' is not a member type of struct 'SwiftUI.Image'
typealias _ScaledImage = Image.Modified<_EnvironmentKeyWritingModifier<Image.Scale>>
                         ~~~~~ ^
SwiftUI.Image:2:23: note: 'Image' declared here
@frozen public struct Image : Equatable, Sendable {
                      ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:16:4: error: 'Environment' is only available in macOS 10.15 or newer
  @Environment(\.modalDismissAction) private var dismiss
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:21:16: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(@ViewBuilder _ label: () -> Label) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:21:10: note: add @available attribute to enclosing initializer
  public init(@ViewBuilder _ label: () -> Label) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:25:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:25:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:41: error: 'View' is only available in macOS 10.15 or newer
public struct ModalDismissButton<Label: View>: View {
                                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:7:4: error: 'Environment' is only available in macOS 10.15 or newer
  @Environment(\.modalPresentationAction) private var _present
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:18:42: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(destination: Destination, @ViewBuilder _ label: () -> Label) {
                                         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:18:10: note: add @available attribute to enclosing initializer
  public init(destination: Destination, @ViewBuilder _ label: () -> Label) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:23:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:23:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:52: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationButton<Destination: View, Label: View>: View {
                                                   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:65: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationButton<Destination: View, Label: View>: View {
                                                                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:8:37: error: 'AnyView' is only available in macOS 10.15 or newer
  @State private var presentedView: AnyView? = nil
                                    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:8:4: error: 'State' is only available in macOS 10.15 or newer
  @State private var presentedView: AnyView? = nil
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:14:16: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(@ViewBuilder _ content: () -> Content) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:14:10: note: add @available attribute to enclosing initializer
  public init(@ViewBuilder _ content: () -> Content) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:18:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:18:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:24:22: error: cannot find type 'Modal' in scope
  private var modal: Modal? {
                     ^~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:32:32: error: 'AnyView' is only available in macOS 10.15 or newer
  private func present(_ view: AnyView) {
                               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:32:16: note: add @available attribute to enclosing instance method
  private func present(_ view: AnyView) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:46: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationView<Content: View>: View {
                                             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
[4/7] Compiling ModalPresentationView ModalPresentationButton.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:7:4: error: 'Environment' is only available in macOS 10.15 or newer
  @Environment(\.modalPresentationAction) private var _present
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:18:42: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(destination: Destination, @ViewBuilder _ label: () -> Label) {
                                         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:18:10: note: add @available attribute to enclosing initializer
  public init(destination: Destination, @ViewBuilder _ label: () -> Label) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:23:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:23:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:52: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationButton<Destination: View, Label: View>: View {
                                                   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:65: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationButton<Destination: View, Label: View>: View {
                                                                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:24:5: error: 'Button' is only available in macOS 10.15 or newer
    Button(action: present) {
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:24:5: note: add 'if #available' version check
    Button(action: present) {
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:23:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:30:14: error: 'AnyView' is only available in macOS 10.15 or newer
    _present(AnyView(destination))
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:30:14: note: add 'if #available' version check
    _present(AnyView(destination))
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:29:16: note: add @available attribute to enclosing instance method
  private func present() {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
[5/7] Compiling ModalPresentationView EnvironmentKeys.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:12:29: error: 'AnyView' is only available in macOS 10.15 or newer
  static var defaultValue: (AnyView) -> Void {
                            ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:12:14: note: add @available attribute to enclosing static property
  static var defaultValue: (AnyView) -> Void {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:11:6: note: add @available attribute to enclosing enum
enum ModalPresentationActionKey: EnvironmentKey {
     ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:25:33: error: 'AnyView' is only available in macOS 10.15 or newer
  var modalPresentationAction: (AnyView) -> Void {
                                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:25:7: note: add @available attribute to enclosing property
  var modalPresentationAction: (AnyView) -> Void {
      ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
          ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
[6/7] Compiling ModalPresentationView ModalDismissButton.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:3:32: error: 'Modified' is not a member type of struct 'SwiftUI.Image'
typealias _ScaledImage = Image.Modified<_EnvironmentKeyWritingModifier<Image.Scale>>
                         ~~~~~ ^
SwiftUI.Image:2:23: note: 'Image' declared here
@frozen public struct Image : Equatable, Sendable {
                      ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:16:4: error: 'Environment' is only available in macOS 10.15 or newer
  @Environment(\.modalDismissAction) private var dismiss
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:21:16: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(@ViewBuilder _ label: () -> Label) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:21:10: note: add @available attribute to enclosing initializer
  public init(@ViewBuilder _ label: () -> Label) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:25:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:25:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:41: error: 'View' is only available in macOS 10.15 or newer
public struct ModalDismissButton<Label: View>: View {
                                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:26:5: error: 'Button' is only available in macOS 10.15 or newer
    Button(action: dismiss) {
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:26:5: note: add 'if #available' version check
    Button(action: dismiss) {
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:25:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:36:10: error: generic struct 'ModalDismissButton' requires that 'Label' conform to 'View'
    self.init {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: where 'Label' = 'Label'
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:36:15: error: cannot convert return expression of type 'ModifiedContent<some View, AccessibilityAttachmentModifier>' to return type 'Label'
    self.init {
              ^
[7/7] Compiling ModalPresentationView ModalPresentationView.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:8:37: error: 'AnyView' is only available in macOS 10.15 or newer
  @State private var presentedView: AnyView? = nil
                                    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:8:4: error: 'State' is only available in macOS 10.15 or newer
  @State private var presentedView: AnyView? = nil
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:14:16: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(@ViewBuilder _ content: () -> Content) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:14:10: note: add @available attribute to enclosing initializer
  public init(@ViewBuilder _ content: () -> Content) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:18:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:18:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:24:22: error: cannot find type 'Modal' in scope
  private var modal: Modal? {
                     ^~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:32:32: error: 'AnyView' is only available in macOS 10.15 or newer
  private func present(_ view: AnyView) {
                               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:32:16: note: add @available attribute to enclosing instance method
  private func present(_ view: AnyView) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:46: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationView<Content: View>: View {
                                             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:21:8: error: value of type 'some View' has no member 'presentation'
      .presentation(modal)
       ^~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:33:5: error: setter for 'presentedView' is only available in macOS 10.15 or newer
    presentedView = view
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:33:5: note: add 'if #available' version check
    presentedView = view
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:32:16: note: add @available attribute to enclosing instance method
  private func present(_ view: AnyView) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:37:5: error: setter for 'presentedView' is only available in macOS 10.15 or newer
    presentedView = nil
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:37:5: note: add 'if #available' version check
    presentedView = nil
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:36:16: note: add @available attribute to enclosing instance method
  private func dismiss() {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/6] Compiling ModalPresentationView ModalPresentationView.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:8:37: error: 'AnyView' is only available in macOS 10.15 or newer
  @State private var presentedView: AnyView? = nil
                                    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:8:4: error: 'State' is only available in macOS 10.15 or newer
  @State private var presentedView: AnyView? = nil
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:14:16: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(@ViewBuilder _ content: () -> Content) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:14:10: note: add @available attribute to enclosing initializer
  public init(@ViewBuilder _ content: () -> Content) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:18:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:18:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:24:22: error: cannot find type 'Modal' in scope
  private var modal: Modal? {
                     ^~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:32:32: error: 'AnyView' is only available in macOS 10.15 or newer
  private func present(_ view: AnyView) {
                               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:32:16: note: add @available attribute to enclosing instance method
  private func present(_ view: AnyView) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:46: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationView<Content: View>: View {
                                             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:21:8: error: value of type 'some View' has no member 'presentation'
      .presentation(modal)
       ^~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:33:5: error: setter for 'presentedView' is only available in macOS 10.15 or newer
    presentedView = view
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:33:5: note: add 'if #available' version check
    presentedView = view
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:32:16: note: add @available attribute to enclosing instance method
  private func present(_ view: AnyView) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:37:5: error: setter for 'presentedView' is only available in macOS 10.15 or newer
    presentedView = nil
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:37:5: note: add 'if #available' version check
    presentedView = nil
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:36:16: note: add @available attribute to enclosing instance method
  private func dismiss() {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
[3/6] Compiling ModalPresentationView ModalDismissButton.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:3:32: error: 'Modified' is not a member type of struct 'SwiftUI.Image'
typealias _ScaledImage = Image.Modified<_EnvironmentKeyWritingModifier<Image.Scale>>
                         ~~~~~ ^
SwiftUI.Image:2:23: note: 'Image' declared here
@frozen public struct Image : Equatable, Sendable {
                      ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:16:4: error: 'Environment' is only available in macOS 10.15 or newer
  @Environment(\.modalDismissAction) private var dismiss
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:21:16: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(@ViewBuilder _ label: () -> Label) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:21:10: note: add @available attribute to enclosing initializer
  public init(@ViewBuilder _ label: () -> Label) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:25:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:25:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:41: error: 'View' is only available in macOS 10.15 or newer
public struct ModalDismissButton<Label: View>: View {
                                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:26:5: error: 'Button' is only available in macOS 10.15 or newer
    Button(action: dismiss) {
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:26:5: note: add 'if #available' version check
    Button(action: dismiss) {
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:25:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:36:10: error: generic struct 'ModalDismissButton' requires that 'Label' conform to 'View'
    self.init {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: where 'Label' = 'Label'
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:36:15: error: cannot convert return expression of type 'ModifiedContent<some View, AccessibilityAttachmentModifier>' to return type 'Label'
    self.init {
              ^
[4/6] Compiling ModalPresentationView ModalPresentationButton.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:7:4: error: 'Environment' is only available in macOS 10.15 or newer
  @Environment(\.modalPresentationAction) private var _present
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:18:42: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(destination: Destination, @ViewBuilder _ label: () -> Label) {
                                         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:18:10: note: add @available attribute to enclosing initializer
  public init(destination: Destination, @ViewBuilder _ label: () -> Label) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:23:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:23:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:52: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationButton<Destination: View, Label: View>: View {
                                                   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:65: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationButton<Destination: View, Label: View>: View {
                                                                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:24:5: error: 'Button' is only available in macOS 10.15 or newer
    Button(action: present) {
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:24:5: note: add 'if #available' version check
    Button(action: present) {
    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:23:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:30:14: error: 'AnyView' is only available in macOS 10.15 or newer
    _present(AnyView(destination))
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:30:14: note: add 'if #available' version check
    _present(AnyView(destination))
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:29:16: note: add @available attribute to enclosing instance method
  private func present() {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module ModalPresentationView
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:12:29: error: 'AnyView' is only available in macOS 10.15 or newer
  static var defaultValue: (AnyView) -> Void {
                            ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:12:14: note: add @available attribute to enclosing static property
  static var defaultValue: (AnyView) -> Void {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:11:6: note: add @available attribute to enclosing enum
enum ModalPresentationActionKey: EnvironmentKey {
     ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:25:33: error: 'AnyView' is only available in macOS 10.15 or newer
  var modalPresentationAction: (AnyView) -> Void {
                                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:25:7: note: add @available attribute to enclosing property
  var modalPresentationAction: (AnyView) -> Void {
      ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
          ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:3:32: error: 'Modified' is not a member type of struct 'SwiftUI.Image'
typealias _ScaledImage = Image.Modified<_EnvironmentKeyWritingModifier<Image.Scale>>
                         ~~~~~ ^
SwiftUI.Image:2:23: note: 'Image' declared here
@frozen public struct Image : Equatable, Sendable {
                      ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:16:4: error: 'Environment' is only available in macOS 10.15 or newer
  @Environment(\.modalDismissAction) private var dismiss
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:21:16: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(@ViewBuilder _ label: () -> Label) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:21:10: note: add @available attribute to enclosing initializer
  public init(@ViewBuilder _ label: () -> Label) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:25:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:25:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:41: error: 'View' is only available in macOS 10.15 or newer
public struct ModalDismissButton<Label: View>: View {
                                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalDismissButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ModalDismissButton<Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:7:4: error: 'Environment' is only available in macOS 10.15 or newer
  @Environment(\.modalPresentationAction) private var _present
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:18:42: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(destination: Destination, @ViewBuilder _ label: () -> Label) {
                                         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:18:10: note: add @available attribute to enclosing initializer
  public init(destination: Destination, @ViewBuilder _ label: () -> Label) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:23:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:23:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:52: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationButton<Destination: View, Label: View>: View {
                                                   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:65: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationButton<Destination: View, Label: View>: View {
                                                                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationButton.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationButton<Destination: View, Label: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:8:37: error: 'AnyView' is only available in macOS 10.15 or newer
  @State private var presentedView: AnyView? = nil
                                    ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:8:4: error: 'State' is only available in macOS 10.15 or newer
  @State private var presentedView: AnyView? = nil
   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:14:16: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  public init(@ViewBuilder _ content: () -> Content) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:14:10: note: add @available attribute to enclosing initializer
  public init(@ViewBuilder _ content: () -> Content) {
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:18:25: error: 'View' is only available in macOS 10.15 or newer
  public var body: some View {
                        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:18:14: note: add @available attribute to enclosing property
  public var body: some View {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:24:22: error: cannot find type 'Modal' in scope
  private var modal: Modal? {
                     ^~~~~
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:32:32: error: 'AnyView' is only available in macOS 10.15 or newer
  private func present(_ view: AnyView) {
                               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:32:16: note: add @available attribute to enclosing instance method
  private func present(_ view: AnyView) {
               ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:46: error: 'View' is only available in macOS 10.15 or newer
public struct ModalPresentationView<Content: View>: View {
                                             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/ModalPresentationView.swift:7:15: note: add @available attribute to enclosing generic struct
public struct ModalPresentationView<Content: View>: View {
              ^
[6/6] Compiling ModalPresentationView EnvironmentKeys.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:12:29: error: 'AnyView' is only available in macOS 10.15 or newer
  static var defaultValue: (AnyView) -> Void {
                            ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:12:14: note: add @available attribute to enclosing static property
  static var defaultValue: (AnyView) -> Void {
             ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:11:6: note: add @available attribute to enclosing enum
enum ModalPresentationActionKey: EnvironmentKey {
     ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:25:33: error: 'AnyView' is only available in macOS 10.15 or newer
  var modalPresentationAction: (AnyView) -> Void {
                                ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:25:7: note: add @available attribute to enclosing property
  var modalPresentationAction: (AnyView) -> Void {
      ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
extension EnvironmentValues {
          ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ModalPresentationView/EnvironmentKeys.swift:19:1: note: add @available attribute to enclosing extension
extension EnvironmentValues {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm