The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Refreshable, reference 0.2.0 (2e62fe), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 08:03:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/c-villain/Refreshable.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/c-villain/Refreshable
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 2e62fe4 Update README.md
Cloned https://github.com/c-villain/Refreshable.git
Revision (git rev-parse @):
2e62fe4f4aab06ccbbe466cec0618c3e69d4c5f1
SUCCESS checkout https://github.com/c-villain/Refreshable.git at 0.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "refreshable",
      "name": "Refreshable",
      "url": "https://github.com/c-villain/Refreshable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Refreshable",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/c-villain/Refreshable.git
[1/75] Fetching refreshable
Fetched https://github.com/c-villain/Refreshable.git from cache (0.87s)
Creating working copy for https://github.com/c-villain/Refreshable.git
Working copy of https://github.com/c-villain/Refreshable.git resolved at 0.2.0 (2e62fe4)
warning: '.resolve-product-dependencies': dependency 'refreshable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/c-villain/Refreshable.git
https://github.com/c-villain/Refreshable.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Refreshable",
  "name" : "Refreshable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Refreshable",
      "targets" : [
        "Refreshable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Refreshable",
      "module_type" : "SwiftTarget",
      "name" : "Refreshable",
      "path" : "Sources/Refreshable",
      "product_memberships" : [
        "Refreshable"
      ],
      "sources" : [
        "RefreshActionModifier.swift",
        "RefreshControl.swift",
        "Refreshable.swift",
        "ScrollDistance.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/7] Compiling Refreshable ScrollDistance.swift
[4/7] Compiling Refreshable Refreshable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:8:60: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
   |                                                            `- error: 'View' is only available in macOS 10.15 or newer
 9 |         self.modifier(RefreshAction.init(
10 |             scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:6:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
 9 |         self.modifier(RefreshAction.init(
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:9:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
 9 |         self.modifier(RefreshAction.init(
   |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
10 |             scrollDistance,
11 |             action: action))
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:9:14: error: 'modifier' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
 9 |         self.modifier(RefreshAction.init(
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
10 |             scrollDistance,
11 |             action: action))
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:8:65: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
   |                                                                 |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                                 `- note: add 'if #available' version check
 9 |         self.modifier(RefreshAction.init(
10 |             scrollDistance,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module Refreshable
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:15:48: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshAction: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let action: (() -> Void)?
   :
13 |     }
14 |
15 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
16 |         ScrollView {
17 |             RefreshControl(scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:6:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   |                                  `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 7 |
 8 |     private let scrollOffset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
11 |     private let onRefresh: () -> Void
12 |
13 |     @State private(set) var refresh: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |
15 |     public init(_ scrollDistance: ScrollDistance = .defaults,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:16:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
13 |     @State private(set) var refresh: Bool = false
14 |
15 |     public init(_ scrollDistance: ScrollDistance = .defaults,
   |            `- note: add @available attribute to enclosing initializer
16 |                 coordinateSpace: CoordinateSpace,
   |                                  `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
17 |                 onRefresh: @escaping (() -> Void)) {
18 |         self.coordinateSpace = coordinateSpace
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
33 |     }
34 |
35 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
36 |         GeometryReader { geo in
37 |             if (geo.frame(in: coordinateSpace).midY * factor > scrollOffset) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:75:20: error: 'View' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:87:31: error: 'View' is only available in macOS 10.15 or newer
84 |
85 | @available(iOS 14.0, *)
86 | struct PullToRefreshDemo_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
87 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
88 |         PullToRefreshDemo()
89 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:8:60: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
   |                                                            `- error: 'View' is only available in macOS 10.15 or newer
 9 |         self.modifier(RefreshAction.init(
10 |             scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:6:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
 9 |         self.modifier(RefreshAction.init(
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
[6/7] Compiling Refreshable RefreshActionModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:15:48: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshAction: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let action: (() -> Void)?
   :
13 |     }
14 |
15 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
16 |         ScrollView {
17 |             RefreshControl(scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:16:9: error: 'ScrollView' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshAction: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let action: (() -> Void)?
   :
13 |     }
14 |
15 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
16 |         ScrollView {
   |         |- error: 'ScrollView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |             RefreshControl(scrollDistance,
18 |                            coordinateSpace: .named("ContentForRefreshable")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:16:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshAction: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let action: (() -> Void)?
   :
13 |     }
14 |
15 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
16 |         ScrollView {
   |         |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |             RefreshControl(scrollDistance,
18 |                            coordinateSpace: .named("ContentForRefreshable")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:23:10: error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshAction: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let action: (() -> Void)?
   :
13 |     }
14 |
15 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
16 |         ScrollView {
17 |             RefreshControl(scrollDistance,
   :
21 |             content
22 |         }
23 |         .coordinateSpace(name: "ContentForRefreshable")
   |          |- error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
24 |     }
25 |
[7/7] Compiling Refreshable RefreshControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:6:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   |                                  `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 7 |
 8 |     private let scrollOffset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
11 |     private let onRefresh: () -> Void
12 |
13 |     @State private(set) var refresh: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |
15 |     public init(_ scrollDistance: ScrollDistance = .defaults,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:16:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
13 |     @State private(set) var refresh: Bool = false
14 |
15 |     public init(_ scrollDistance: ScrollDistance = .defaults,
   |            `- note: add @available attribute to enclosing initializer
16 |                 coordinateSpace: CoordinateSpace,
   |                                  `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
17 |                 onRefresh: @escaping (() -> Void)) {
18 |         self.coordinateSpace = coordinateSpace
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
33 |     }
34 |
35 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
36 |         GeometryReader { geo in
37 |             if (geo.frame(in: coordinateSpace).midY * factor > scrollOffset) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:75:20: error: 'View' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:87:31: error: 'View' is only available in macOS 10.15 or newer
84 |
85 | @available(iOS 14.0, *)
86 | struct PullToRefreshDemo_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
87 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
88 |         PullToRefreshDemo()
89 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:60:45: error: cannot find 'UIColor' in scope
58 |                           VStack {
59 |                               Rectangle()
60 |                                 .fill(Color(UIColor.tertiaryLabel))
   |                                             `- error: cannot find 'UIColor' in scope
61 |                                 .opacity((Int((geo.frame(in: coordinateSpace).midY * factor)/7) < tick) ? 0 : 1)
62 |                                   .frame(width: 3, height: 7)
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:35:32: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
33 |     }
34 |
35 |     public var body: some View {
   |                                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
36 |         GeometryReader { geo in
37 |             if (geo.frame(in: coordinateSpace).midY * factor > scrollOffset) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:76:9: error: 'ScrollView' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
   |         |- error: 'ScrollView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 |                 //refresh view here
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:76:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
   |         |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 |                 //refresh view here
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:80:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 |                 //refresh view here
79 |             }
80 |             Text("Some view...")
   |             |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
81 |         }.coordinateSpace(name: "RefreshControl")
82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:80:13: error: 'Text' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 |                 //refresh view here
79 |             }
80 |             Text("Some view...")
   |             |- error: 'Text' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
81 |         }.coordinateSpace(name: "RefreshControl")
82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:76:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
   |                    |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 |                 //refresh view here
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:81:11: error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
   :
79 |             }
80 |             Text("Some view...")
81 |         }.coordinateSpace(name: "RefreshControl")
   |           |- error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
   |           `- note: add 'if #available' version check
82 |     }
83 | }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling Refreshable ScrollDistance.swift
[3/6] Compiling Refreshable Refreshable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:8:60: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
   |                                                            `- error: 'View' is only available in macOS 10.15 or newer
 9 |         self.modifier(RefreshAction.init(
10 |             scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:6:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
 9 |         self.modifier(RefreshAction.init(
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:9:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
 9 |         self.modifier(RefreshAction.init(
   |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
10 |             scrollDistance,
11 |             action: action))
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:9:14: error: 'modifier' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
 9 |         self.modifier(RefreshAction.init(
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
10 |             scrollDistance,
11 |             action: action))
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:8:65: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
   |                                                                 |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                                 `- note: add 'if #available' version check
 9 |         self.modifier(RefreshAction.init(
10 |             scrollDistance,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module Refreshable
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:15:48: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshAction: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let action: (() -> Void)?
   :
13 |     }
14 |
15 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
16 |         ScrollView {
17 |             RefreshControl(scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:6:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   |                                  `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 7 |
 8 |     private let scrollOffset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
11 |     private let onRefresh: () -> Void
12 |
13 |     @State private(set) var refresh: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |
15 |     public init(_ scrollDistance: ScrollDistance = .defaults,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:16:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
13 |     @State private(set) var refresh: Bool = false
14 |
15 |     public init(_ scrollDistance: ScrollDistance = .defaults,
   |            `- note: add @available attribute to enclosing initializer
16 |                 coordinateSpace: CoordinateSpace,
   |                                  `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
17 |                 onRefresh: @escaping (() -> Void)) {
18 |         self.coordinateSpace = coordinateSpace
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
33 |     }
34 |
35 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
36 |         GeometryReader { geo in
37 |             if (geo.frame(in: coordinateSpace).midY * factor > scrollOffset) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:75:20: error: 'View' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:87:31: error: 'View' is only available in macOS 10.15 or newer
84 |
85 | @available(iOS 14.0, *)
86 | struct PullToRefreshDemo_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
87 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
88 |         PullToRefreshDemo()
89 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:8:60: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
   |                                                            `- error: 'View' is only available in macOS 10.15 or newer
 9 |         self.modifier(RefreshAction.init(
10 |             scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:6:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 7 |     func refreshable(_ scrollDistance: ScrollDistance = .defaults,
   |          `- note: add @available attribute to enclosing instance method
 8 |                      _ action: @escaping () -> ()) -> some View {
 9 |         self.modifier(RefreshAction.init(
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/Refreshable.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
 5 |
 6 |     @ViewBuilder
[5/6] Compiling Refreshable RefreshControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:6:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   |                                  `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 7 |
 8 |     private let scrollOffset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
11 |     private let onRefresh: () -> Void
12 |
13 |     @State private(set) var refresh: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |
15 |     public init(_ scrollDistance: ScrollDistance = .defaults,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:16:34: error: 'CoordinateSpace' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
13 |     @State private(set) var refresh: Bool = false
14 |
15 |     public init(_ scrollDistance: ScrollDistance = .defaults,
   |            `- note: add @available attribute to enclosing initializer
16 |                 coordinateSpace: CoordinateSpace,
   |                                  `- error: 'CoordinateSpace' is only available in macOS 10.15 or newer
17 |                 onRefresh: @escaping (() -> Void)) {
18 |         self.coordinateSpace = coordinateSpace
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshControl: View {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let coordinateSpace: CoordinateSpace
   :
33 |     }
34 |
35 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
36 |         GeometryReader { geo in
37 |             if (geo.frame(in: coordinateSpace).midY * factor > scrollOffset) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:75:20: error: 'View' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:87:31: error: 'View' is only available in macOS 10.15 or newer
84 |
85 | @available(iOS 14.0, *)
86 | struct PullToRefreshDemo_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
87 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
88 |         PullToRefreshDemo()
89 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:60:45: error: cannot find 'UIColor' in scope
58 |                           VStack {
59 |                               Rectangle()
60 |                                 .fill(Color(UIColor.tertiaryLabel))
   |                                             `- error: cannot find 'UIColor' in scope
61 |                                 .opacity((Int((geo.frame(in: coordinateSpace).midY * factor)/7) < tick) ? 0 : 1)
62 |                                   .frame(width: 3, height: 7)
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:35:32: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
33 |     }
34 |
35 |     public var body: some View {
   |                                `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
36 |         GeometryReader { geo in
37 |             if (geo.frame(in: coordinateSpace).midY * factor > scrollOffset) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:76:9: error: 'ScrollView' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
   |         |- error: 'ScrollView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 |                 //refresh view here
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:76:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
   |         |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 |                 //refresh view here
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:80:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 |                 //refresh view here
79 |             }
80 |             Text("Some view...")
   |             |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
81 |         }.coordinateSpace(name: "RefreshControl")
82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:80:13: error: 'Text' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 |                 //refresh view here
79 |             }
80 |             Text("Some view...")
   |             |- error: 'Text' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
81 |         }.coordinateSpace(name: "RefreshControl")
82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:76:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
   |                    |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
78 |                 //refresh view here
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshControl.swift:81:11: error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
72 |
73 | @available(iOS 14.0, *)
74 | struct PullToRefreshDemo: View {
   |        `- note: add @available attribute to enclosing struct
75 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
76 |         ScrollView {
77 |             RefreshControl(coordinateSpace: .named("RefreshControl")) {
   :
79 |             }
80 |             Text("Some view...")
81 |         }.coordinateSpace(name: "RefreshControl")
   |           |- error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
   |           `- note: add 'if #available' version check
82 |     }
83 | }
[6/6] Compiling Refreshable RefreshActionModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:15:48: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshAction: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let action: (() -> Void)?
   :
13 |     }
14 |
15 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
16 |         ScrollView {
17 |             RefreshControl(scrollDistance,
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:16:9: error: 'ScrollView' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshAction: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let action: (() -> Void)?
   :
13 |     }
14 |
15 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
16 |         ScrollView {
   |         |- error: 'ScrollView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |             RefreshControl(scrollDistance,
18 |                            coordinateSpace: .named("ContentForRefreshable")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:16:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshAction: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let action: (() -> Void)?
   :
13 |     }
14 |
15 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
16 |         ScrollView {
   |         |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |             RefreshControl(scrollDistance,
18 |                            coordinateSpace: .named("ContentForRefreshable")) {
/Users/admin/builder/spi-builder-workspace/Sources/Refreshable/RefreshActionModifier.swift:23:10: error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
 2 |
 3 | @available(iOS 14.0, *)
 4 | public struct RefreshAction: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 5 |
 6 |     private let action: (() -> Void)?
   :
13 |     }
14 |
15 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
16 |         ScrollView {
17 |             RefreshControl(scrollDistance,
   :
21 |             content
22 |         }
23 |         .coordinateSpace(name: "ContentForRefreshable")
   |          |- error: 'coordinateSpace(name:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
24 |     }
25 |
BUILD FAILURE 6.1 macosSpm