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 FancyScrollView, reference 0.1.4 (7f8194), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 00:30:48 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/FancyScrollView.git
Reference: 0.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerdsupremacist/FancyScrollView
 * tag               0.1.4      -> FETCH_HEAD
HEAD is now at 7f8194b Merge pull request #9 from devraj/develop
Cloned https://github.com/nerdsupremacist/FancyScrollView.git
Revision (git rev-parse @):
7f8194b23dc209cdb5b0ebc9799a8de487166fdf
SUCCESS checkout https://github.com/nerdsupremacist/FancyScrollView.git at 0.1.4
========================================
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": "fancyscrollview",
      "name": "FancyScrollView",
      "url": "https://github.com/nerdsupremacist/FancyScrollView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FancyScrollView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nerdsupremacist/FancyScrollView.git
[1/217] Fetching fancyscrollview
Fetched https://github.com/nerdsupremacist/FancyScrollView.git from cache (2.88s)
Creating working copy for https://github.com/nerdsupremacist/FancyScrollView.git
Working copy of https://github.com/nerdsupremacist/FancyScrollView.git resolved at 0.1.4 (7f8194b)
warning: '.resolve-product-dependencies': dependency 'fancyscrollview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nerdsupremacist/FancyScrollView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling FancyScrollView ScrollDownHeaderBehavior.swift
[4/12] Compiling FancyScrollView ScrollUpHeaderBehavior.swift
[5/12] Compiling FancyScrollView View+hideNavigationBarWithoutLosingSwipeBack.swift
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:7:74: error: 'View' is only available in macOS 10.15 or newer
 3 | import SwiftUI
 4 |
 5 | extension View {
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     func hideNavigationBarWithoutLosingSwipeBack(_ hidden: Bool) -> some View {
   |          |                                                               `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 8 |         return background(NavigationConfigurator(hidden: hidden))
 9 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:5:11: error: 'View' is only available in macOS 10.15 or newer
 3 | import SwiftUI
 4 |
 5 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     func hideNavigationBarWithoutLosingSwipeBack(_ hidden: Bool) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:17:40: error: cannot find type 'UINavigationController' in scope
15 |
16 |     class Coordinator: NSObject {
17 |         weak var navigationController: UINavigationController?
   |                                        `- error: cannot find type 'UINavigationController' in scope
18 |
19 |         deinit {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:24:105: error: cannot find type 'UIViewController' in scope
22 |     }
23 |
24 |     func makeUIViewController(context: UIViewControllerRepresentableContext<NavigationConfigurator>) -> UIViewController {
   |                                                                                                         `- error: cannot find type 'UIViewController' in scope
25 |         return UIViewController()
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:24:40: error: cannot find type 'UIViewControllerRepresentableContext' in scope
22 |     }
23 |
24 |     func makeUIViewController(context: UIViewControllerRepresentableContext<NavigationConfigurator>) -> UIViewController {
   |                                        `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
25 |         return UIViewController()
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:32:53: error: cannot find type 'UIViewController' in scope
30 |     }
31 |
32 |     func updateUIViewController(_ uiViewController: UIViewController,
   |                                                     `- error: cannot find type 'UIViewController' in scope
33 |                                 context: UIViewControllerRepresentableContext<NavigationConfigurator>) {
34 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:33:42: error: cannot find type 'UIViewControllerRepresentableContext' in scope
31 |
32 |     func updateUIViewController(_ uiViewController: UIViewController,
33 |                                 context: UIViewControllerRepresentableContext<NavigationConfigurator>) {
   |                                          `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
34 |
35 |         uiViewController.navigationController?.navigationBar.isHidden = hidden
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:13:40: error: cannot find type 'UIViewControllerRepresentable' in scope
11 | }
12 |
13 | private struct NavigationConfigurator: UIViewControllerRepresentable {
   |                                        `- error: cannot find type 'UIViewControllerRepresentable' in scope
14 |     let hidden: Bool
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:8:16: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'NavigationConfigurator' conform to 'ShapeStyle'
 6 |
 7 |     func hideNavigationBarWithoutLosingSwipeBack(_ hidden: Bool) -> some View {
 8 |         return background(NavigationConfigurator(hidden: hidden))
   |                `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'NavigationConfigurator' conform to 'ShapeStyle'
 9 |     }
10 |
SwiftUICore.View:7:40: note: where 'S' = 'NavigationConfigurator'
 5 |     @inlinable nonisolated public func background(ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View
 6 |
 7 |     @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
   |                                        `- note: where 'S' = 'NavigationConfigurator'
 8 |
 9 |     @inlinable nonisolated public func background<S>(in shape: S, fillStyle: FillStyle = FillStyle()) -> some View where S : Shape
[6/13] Compiling FancyScrollView HeaderScrollViewTitle.swift
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:5:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
 6 |     let height: CGFloat
 7 |     let largeTitle: Double
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:6:20: error: 'presentationMode' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
 6 |     @Environment(\.presentationMode)
   |                    `- error: 'presentationMode' is only available in macOS 10.15 or newer
 7 |     var presentationMode: Binding<PresentationMode>
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:12:16: error: 'ZStack' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
12 |         return ZStack {
   |                |- error: 'ZStack' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
13 |             HStack {
14 |                 Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:12:23: 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
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
12 |         return ZStack {
   |                       |- 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
13 |             HStack {
14 |                 Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:13:13: error: 'HStack' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
12 |         return ZStack {
13 |             HStack {
   |             |- error: 'HStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
14 |                 Text(title)
15 |                     .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:14:17: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
12 |         return ZStack {
13 |             HStack {
14 |                 Text(title)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
15 |                     .font(.largeTitle)
16 |                     .foregroundColor(titleColor)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:15:22: error: 'font' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
13 |             HStack {
14 |                 Text(title)
15 |                     .font(.largeTitle)
   |                      |- error: 'font' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
16 |                     .foregroundColor(titleColor)
17 |                     .fontWeight(.black)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:15:28: error: 'largeTitle' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
13 |             HStack {
14 |                 Text(title)
15 |                     .font(.largeTitle)
   |                            |- error: 'largeTitle' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
16 |                     .foregroundColor(titleColor)
17 |                     .fontWeight(.black)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:16:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
14 |                 Text(title)
15 |                     .font(.largeTitle)
16 |                     .foregroundColor(titleColor)
   |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
17 |                     .fontWeight(.black)
18 |                     .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:17:22: error: 'fontWeight' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
15 |                     .font(.largeTitle)
16 |                     .foregroundColor(titleColor)
17 |                     .fontWeight(.black)
   |                      |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
18 |                     .padding(.horizontal, 16)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:18:22: error: 'padding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
16 |                     .foregroundColor(titleColor)
17 |                     .fontWeight(.black)
18 |                     .padding(.horizontal, 16)
   |                      |- error: 'padding' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
19 |
20 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:20:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
18 |                     .padding(.horizontal, 16)
19 |
20 |                 Spacer()
   |                 |- warning: conformance of 'Spacer' 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
21 |             }
22 |             .padding(.bottom, 8)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:20:17: error: 'Spacer' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
18 |                     .padding(.horizontal, 16)
19 |
20 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
21 |             }
22 |             .padding(.bottom, 8)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:13:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
12 |         return ZStack {
13 |             HStack {
   |                    |- warning: conformance of 'Spacer' 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
14 |                 Text(title)
15 |                     .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:22:14: error: 'padding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
20 |                 Spacer()
21 |             }
22 |             .padding(.bottom, 8)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
23 |             .opacity(sqrt(largeTitleOpacity))
24 |             .minimumScaleFactor(0.5)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:23:14: error: 'opacity' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
21 |             }
22 |             .padding(.bottom, 8)
23 |             .opacity(sqrt(largeTitleOpacity))
   |              |- error: 'opacity' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
24 |             .minimumScaleFactor(0.5)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:24:14: error: 'minimumScaleFactor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
22 |             .padding(.bottom, 8)
23 |             .opacity(sqrt(largeTitleOpacity))
24 |             .minimumScaleFactor(0.5)
   |              |- error: 'minimumScaleFactor' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
25 |
26 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:26:13: error: 'ZStack' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
24 |             .minimumScaleFactor(0.5)
25 |
26 |             ZStack {
   |             |- error: 'ZStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
27 |                 HStack {
28 |                     BackButton(color: .primary)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:26: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
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
24 |             .minimumScaleFactor(0.5)
25 |
26 |             ZStack {
   |                    |- 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
27 |                 HStack {
28 |                     BackButton(color: .primary)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:27:17: error: 'HStack' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
25 |
26 |             ZStack {
27 |                 HStack {
   |                 |- error: 'HStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
28 |                     BackButton(color: .primary)
29 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:28:40: error: 'primary' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
26 |             ZStack {
27 |                 HStack {
28 |                     BackButton(color: .primary)
   |                                        |- error: 'primary' is only available in macOS 10.15 or newer
   |                                        `- note: add 'if #available' version check
29 |                     Spacer()
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:29:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
27 |                 HStack {
28 |                     BackButton(color: .primary)
29 |                     Spacer()
   |                     |- warning: conformance of 'Spacer' 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
30 |                 }
31 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:29:21: error: 'Spacer' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
27 |                 HStack {
28 |                     BackButton(color: .primary)
29 |                     Spacer()
   |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
30 |                 }
31 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:27:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
25 |
26 |             ZStack {
27 |                 HStack {
   |                        |- warning: conformance of 'Spacer' 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
28 |                     BackButton(color: .primary)
29 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:31:17: 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
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
29 |                     Spacer()
30 |                 }
31 |                 HStack {
   |                 |- 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
32 |                     Text(title)
33 |                         .font(.system(size: 18))
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:31:17: error: 'HStack' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
29 |                     Spacer()
30 |                 }
31 |                 HStack {
   |                 |- error: 'HStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
32 |                     Text(title)
33 |                         .font(.system(size: 18))
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:31:17: 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
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
29 |                     Spacer()
30 |                 }
31 |                 HStack {
   |                 |- 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
32 |                     Text(title)
33 |                         .font(.system(size: 18))
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:32:21: 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
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
30 |                 }
31 |                 HStack {
32 |                     Text(title)
   |                     |- 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
33 |                         .font(.system(size: 18))
34 |                         .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:32:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
30 |                 }
31 |                 HStack {
32 |                     Text(title)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
33 |                         .font(.system(size: 18))
34 |                         .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:33:26: error: 'font' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
31 |                 HStack {
32 |                     Text(title)
33 |                         .font(.system(size: 18))
   |                          |- error: 'font' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
34 |                         .fontWeight(.bold)
35 |                         .foregroundColor(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:33:32: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
31 |                 HStack {
32 |                     Text(title)
33 |                         .font(.system(size: 18))
   |                                |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                                `- note: add 'if #available' version check
34 |                         .fontWeight(.bold)
35 |                         .foregroundColor(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:34:26: error: 'fontWeight' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
32 |                     Text(title)
33 |                         .font(.system(size: 18))
34 |                         .fontWeight(.bold)
   |                          |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
35 |                         .foregroundColor(.primary)
36 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:35:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
33 |                         .font(.system(size: 18))
34 |                         .fontWeight(.bold)
35 |                         .foregroundColor(.primary)
   |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
36 |                 }
37 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:35:43: error: 'primary' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
33 |                         .font(.system(size: 18))
34 |                         .fontWeight(.bold)
35 |                         .foregroundColor(.primary)
   |                                           |- error: 'primary' is only available in macOS 10.15 or newer
   |                                           `- note: add 'if #available' version check
36 |                 }
37 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:31:24: 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
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
29 |                     Spacer()
30 |                 }
31 |                 HStack {
   |                        |- 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
32 |                     Text(title)
33 |                         .font(.system(size: 18))
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:26: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
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
24 |             .minimumScaleFactor(0.5)
25 |
26 |             ZStack {
   |                    |- 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
27 |                 HStack {
28 |                     BackButton(color: .primary)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:38:14: error: 'padding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
36 |                 }
37 |             }
38 |             .padding(.bottom, (height - 18) / 2)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
39 |             .opacity(sqrt(tinyTitleOpacity))
40 |         }.frame(height: height)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:39:14: error: 'opacity' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
37 |             }
38 |             .padding(.bottom, (height - 18) / 2)
39 |             .opacity(sqrt(tinyTitleOpacity))
   |              |- error: 'opacity' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
40 |         }.frame(height: height)
41 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:40:11: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
   :
38 |             .padding(.bottom, (height - 18) / 2)
39 |             .opacity(sqrt(tinyTitleOpacity))
40 |         }.frame(height: height)
   |           |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |           `- note: add 'if #available' version check
41 |     }
42 | }
[7/13] Compiling FancyScrollView HeaderScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:6:20: error: 'colorScheme' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
    |                    `- error: 'colorScheme' is only available in macOS 10.15 or newer
  7 |     private var colorScheme: ColorScheme
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:7:30: error: 'ColorScheme' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
  7 |     private var colorScheme: ColorScheme
    |                              `- error: 'ColorScheme' is only available in macOS 10.15 or newer
  8 |
  9 |     let title: String
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:6:6: error: 'Environment' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
  7 |     private var colorScheme: ColorScheme
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:10:21: error: 'Color' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
  7 |     private var colorScheme: ColorScheme
  8 |
  9 |     let title: String
 10 |     let titleColor: Color
    |                     `- error: 'Color' is only available in macOS 10.15 or newer
 11 |     let headerHeight: CGFloat
 12 |     let scrollUpBehavior: ScrollUpHeaderBehavior
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:14:17: error: 'AnyView' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
  7 |     private var colorScheme: ColorScheme
    :
 12 |     let scrollUpBehavior: ScrollUpHeaderBehavior
 13 |     let scrollDownBehavior: ScrollDownHeaderBehavior
 14 |     let header: AnyView
    |                 `- error: 'AnyView' is only available in macOS 10.15 or newer
 15 |     let content: AnyView
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:15:18: error: 'AnyView' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
  7 |     private var colorScheme: ColorScheme
    :
 13 |     let scrollDownBehavior: ScrollDownHeaderBehavior
 14 |     let header: AnyView
 15 |     let content: AnyView
    |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
 16 |
 17 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:17:20: error: 'View' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
  7 |     private var colorScheme: ColorScheme
    :
 15 |     let content: AnyView
 16 |
 17 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 18 |         GeometryReader { globalGeometry in
 19 |             ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:89:42: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | extension HeaderScrollView {
    | `- note: add @available attribute to enclosing extension
 78 |
 79 |     private struct HeaderScrollViewGeometry {
    :
 87 |     }
 88 |
 89 |     private func geometry(from geometry: GeometryProxy, safeArea: EdgeInsets) -> HeaderScrollViewGeometry {
    |                  |                       `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 90 |         let minY = geometry.frame(in: .global).minY
 91 |         let hasScrolledUp = minY > 0
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:89:67: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | extension HeaderScrollView {
    | `- note: add @available attribute to enclosing extension
 78 |
 79 |     private struct HeaderScrollViewGeometry {
    :
 87 |     }
 88 |
 89 |     private func geometry(from geometry: GeometryProxy, safeArea: EdgeInsets) -> HeaderScrollViewGeometry {
    |                  |                                                `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 90 |         let minY = geometry.frame(in: .global).minY
 91 |         let hasScrolledUp = minY > 0
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:136:41: error: 'ColorScheme' is only available in macOS 10.15 or newer
132 | }
133 |
134 | extension Color {
    | `- note: add @available attribute to enclosing extension
135 |
136 |     static func background(colorScheme: ColorScheme) -> Color {
    |                 |                       `- error: 'ColorScheme' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing static method
137 |         switch colorScheme {
138 |         case .dark:
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:136:57: error: 'Color' is only available in macOS 10.15 or newer
132 | }
133 |
134 | extension Color {
    | `- note: add @available attribute to enclosing extension
135 |
136 |     static func background(colorScheme: ColorScheme) -> Color {
    |                 |                                       `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing static method
137 |         switch colorScheme {
138 |         case .dark:
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:134:11: error: 'Color' is only available in macOS 10.15 or newer
132 | }
133 |
134 | extension Color {
    | |         `- error: 'Color' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
135 |
136 |     static func background(colorScheme: ColorScheme) -> Color {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:23:25: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
 21 |                     GeometryReader { geometry -> AnyView in
 22 |                         let geometry = self.geometry(from: geometry, safeArea: globalGeometry.safeAreaInsets)
 23 |                         return AnyView(
    |                         |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
    |                         `- note: remove 'return' statements to apply the result builder
 24 |                             self.header
 25 |                                 .frame(width: geometry.width, height: geometry.headerHeight)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:90:29: error: 'frame(in:)' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | extension HeaderScrollView {
    | `- note: add @available attribute to enclosing extension
 78 |
 79 |     private struct HeaderScrollViewGeometry {
    :
 87 |     }
 88 |
 89 |     private func geometry(from geometry: GeometryProxy, safeArea: EdgeInsets) -> HeaderScrollViewGeometry {
    |                  `- note: add @available attribute to enclosing instance method
 90 |         let minY = geometry.frame(in: .global).minY
    |                             |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 91 |         let hasScrolledUp = minY > 0
 92 |         let hasScrolledToMinHeight = -minY >= headerHeight - navigationBarHeight - safeArea.top
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:139:21: error: 'black' is only available in macOS 10.15 or newer
132 | }
133 |
134 | extension Color {
    | `- note: add @available attribute to enclosing extension
135 |
136 |     static func background(colorScheme: ColorScheme) -> Color {
    |                 `- note: add @available attribute to enclosing static method
137 |         switch colorScheme {
138 |         case .dark:
139 |             return .black
    |                     |- error: 'black' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
140 |         case .light:
141 |             fallthrough
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:143:21: error: 'white' is only available in macOS 10.15 or newer
132 | }
133 |
134 | extension Color {
    | `- note: add @available attribute to enclosing extension
135 |
136 |     static func background(colorScheme: ColorScheme) -> Color {
    |                 `- note: add @available attribute to enclosing static method
137 |         switch colorScheme {
138 |         case .dark:
    :
141 |             fallthrough
142 |         @unknown default:
143 |             return .white
    |                     |- error: 'white' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
144 |         }
145 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Emitting module FancyScrollView
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/AppleMusicStyleScrollView.swift:4:18: error: 'AnyView' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AppleMusicStyleScrollView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
 5 |
 6 |     @State
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/AppleMusicStyleScrollView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AppleMusicStyleScrollView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let content: AnyView
 5 |
 6 |     @State
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     private var offset: CGFloat = 0
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/AppleMusicStyleScrollView.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AppleMusicStyleScrollView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let content: AnyView
 5 |
   :
 7 |     private var offset: CGFloat = 0
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         ZStack {
11 |             ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/AppleMusicStyleScrollView.swift:41:19: error: 'View' is only available in macOS 10.15 or newer
37 |
38 |
39 | extension AppleMusicStyleScrollView {
   | `- note: add @available attribute to enclosing extension
40 |
41 |     init<Content: View>(content: () -> Content) {
   |     |             `- error: 'View' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
42 |         self.init(content: AnyView(content()))
43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:6:20: error: 'presentationMode' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
 6 |     @Environment(\.presentationMode)
   |                    `- error: 'presentationMode' is only available in macOS 10.15 or newer
 7 |     var presentationMode: Binding<PresentationMode>
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:4:16: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
 5 |
 6 |     @Environment(\.presentationMode)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:7:27: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
 6 |     @Environment(\.presentationMode)
 7 |     var presentationMode: Binding<PresentationMode>
   |                           `- error: 'Binding' is only available in macOS 10.15 or newer
 8 |
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:6:6: error: 'Environment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
 6 |     @Environment(\.presentationMode)
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
 7 |     var presentationMode: Binding<PresentationMode>
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 7 |     var presentationMode: Binding<PresentationMode>
 8 |
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:11:78: error: cannot find type 'UIView' in scope
 9 |
10 | public struct BlurView: UIViewRepresentable {
11 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
   |                                                                              `- error: cannot find type 'UIView' in scope
12 |         let view = UIView(frame: .zero)
13 |         view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:11:37: error: cannot find type 'UIViewRepresentableContext' in scope
 9 |
10 | public struct BlurView: UIViewRepresentable {
11 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
   |                                     `- error: cannot find type 'UIViewRepresentableContext' in scope
12 |         let view = UIView(frame: .zero)
13 |         view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:29:40: error: cannot find type 'UIView' in scope
27 |     }
28 |
29 |     public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
   |                                        `- error: cannot find type 'UIView' in scope
30 |         guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
31 |         let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:29:57: error: cannot find type 'UIViewRepresentableContext' in scope
27 |     }
28 |
29 |     public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
   |                                                         `- error: cannot find type 'UIViewRepresentableContext' in scope
30 |         guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
31 |         let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:10:25: error: cannot find type 'UIViewRepresentable' in scope
 8 | import SwiftUI
 9 |
10 | public struct BlurView: UIViewRepresentable {
   |                         `- error: cannot find type 'UIViewRepresentable' in scope
11 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
12 |         let view = UIView(frame: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:5:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
 6 |     let headerHeight: CGFloat
 7 |     let scrollUpHeaderBehavior: ScrollUpHeaderBehavior
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:9:17: error: 'AnyView' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let scrollUpHeaderBehavior: ScrollUpHeaderBehavior
 8 |     let scrollDownHeaderBehavior: ScrollDownHeaderBehavior
 9 |     let header: AnyView?
   |                 `- error: 'AnyView' is only available in macOS 10.15 or newer
10 |     let content: AnyView
11 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:10:18: error: 'AnyView' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 8 |     let scrollDownHeaderBehavior: ScrollDownHeaderBehavior
 9 |     let header: AnyView?
10 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
11 |
12 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:49:20: error: 'View' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            |       `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:49:29: error: 'View' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            |                `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:49:67: error: 'Color' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                                      `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:49:75: error: 'Color' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                                              `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:49:81: error: 'white' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                                                    `- error: 'white' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:64:20: error: 'View' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   :
62 |     }
63 |
64 |     public init<A: View>(title: String = "", titleColor: Color = Color.white,
   |            |       `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
65 |                          headerHeight: CGFloat = 300,
66 |                          scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:64:58: error: 'Color' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   :
62 |     }
63 |
64 |     public init<A: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                             `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
65 |                          headerHeight: CGFloat = 300,
66 |                          scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:64:66: error: 'Color' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   :
62 |     }
63 |
64 |     public init<A: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                                     `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
65 |                          headerHeight: CGFloat = 300,
66 |                          scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:64:72: error: 'white' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   :
62 |     }
63 |
64 |     public init<A: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                                           `- error: 'white' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
65 |                          headerHeight: CGFloat = 300,
66 |                          scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:6:20: error: 'colorScheme' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
    |                    `- error: 'colorScheme' is only available in macOS 10.15 or newer
  7 |     private var colorScheme: ColorScheme
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:7:30: error: 'ColorScheme' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
  7 |     private var colorScheme: ColorScheme
    |                              `- error: 'ColorScheme' is only available in macOS 10.15 or newer
  8 |
  9 |     let title: String
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:6:6: error: 'Environment' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
  7 |     private var colorScheme: ColorScheme
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:10:21: error: 'Color' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
  7 |     private var colorScheme: ColorScheme
  8 |
  9 |     let title: String
 10 |     let titleColor: Color
    |                     `- error: 'Color' is only available in macOS 10.15 or newer
 11 |     let headerHeight: CGFloat
 12 |     let scrollUpBehavior: ScrollUpHeaderBehavior
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:14:17: error: 'AnyView' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
  7 |     private var colorScheme: ColorScheme
    :
 12 |     let scrollUpBehavior: ScrollUpHeaderBehavior
 13 |     let scrollDownBehavior: ScrollDownHeaderBehavior
 14 |     let header: AnyView
    |                 `- error: 'AnyView' is only available in macOS 10.15 or newer
 15 |     let content: AnyView
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:15:18: error: 'AnyView' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
  7 |     private var colorScheme: ColorScheme
    :
 13 |     let scrollDownBehavior: ScrollDownHeaderBehavior
 14 |     let header: AnyView
 15 |     let content: AnyView
    |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
 16 |
 17 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:17:20: error: 'View' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
  7 |     private var colorScheme: ColorScheme
    :
 15 |     let content: AnyView
 16 |
 17 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 18 |         GeometryReader { globalGeometry in
 19 |             ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:89:42: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | extension HeaderScrollView {
    | `- note: add @available attribute to enclosing extension
 78 |
 79 |     private struct HeaderScrollViewGeometry {
    :
 87 |     }
 88 |
 89 |     private func geometry(from geometry: GeometryProxy, safeArea: EdgeInsets) -> HeaderScrollViewGeometry {
    |                  |                       `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 90 |         let minY = geometry.frame(in: .global).minY
 91 |         let hasScrolledUp = minY > 0
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:89:67: error: 'EdgeInsets' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | extension HeaderScrollView {
    | `- note: add @available attribute to enclosing extension
 78 |
 79 |     private struct HeaderScrollViewGeometry {
    :
 87 |     }
 88 |
 89 |     private func geometry(from geometry: GeometryProxy, safeArea: EdgeInsets) -> HeaderScrollViewGeometry {
    |                  |                                                `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 90 |         let minY = geometry.frame(in: .global).minY
 91 |         let hasScrolledUp = minY > 0
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:136:41: error: 'ColorScheme' is only available in macOS 10.15 or newer
132 | }
133 |
134 | extension Color {
    | `- note: add @available attribute to enclosing extension
135 |
136 |     static func background(colorScheme: ColorScheme) -> Color {
    |                 |                       `- error: 'ColorScheme' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing static method
137 |         switch colorScheme {
138 |         case .dark:
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:136:57: error: 'Color' is only available in macOS 10.15 or newer
132 | }
133 |
134 | extension Color {
    | `- note: add @available attribute to enclosing extension
135 |
136 |     static func background(colorScheme: ColorScheme) -> Color {
    |                 |                                       `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing static method
137 |         switch colorScheme {
138 |         case .dark:
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:134:11: error: 'Color' is only available in macOS 10.15 or newer
132 | }
133 |
134 | extension Color {
    | |         `- error: 'Color' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
135 |
136 |     static func background(colorScheme: ColorScheme) -> Color {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:5:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
 6 |     let height: CGFloat
 7 |     let largeTitle: Double
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollViewTitle.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct HeaderScrollViewTitle: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let largeTitle: Double
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         let largeTitleOpacity = (max(largeTitle, 0.5) - 0.5) * 2
11 |         let tinyTitleOpacity = 1 - min(largeTitle, 0.5) * 2
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:7:74: error: 'View' is only available in macOS 10.15 or newer
 3 | import SwiftUI
 4 |
 5 | extension View {
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     func hideNavigationBarWithoutLosingSwipeBack(_ hidden: Bool) -> some View {
   |          |                                                               `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 8 |         return background(NavigationConfigurator(hidden: hidden))
 9 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:5:11: error: 'View' is only available in macOS 10.15 or newer
 3 | import SwiftUI
 4 |
 5 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     func hideNavigationBarWithoutLosingSwipeBack(_ hidden: Bool) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:17:40: error: cannot find type 'UINavigationController' in scope
15 |
16 |     class Coordinator: NSObject {
17 |         weak var navigationController: UINavigationController?
   |                                        `- error: cannot find type 'UINavigationController' in scope
18 |
19 |         deinit {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:24:105: error: cannot find type 'UIViewController' in scope
22 |     }
23 |
24 |     func makeUIViewController(context: UIViewControllerRepresentableContext<NavigationConfigurator>) -> UIViewController {
   |                                                                                                         `- error: cannot find type 'UIViewController' in scope
25 |         return UIViewController()
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:24:40: error: cannot find type 'UIViewControllerRepresentableContext' in scope
22 |     }
23 |
24 |     func makeUIViewController(context: UIViewControllerRepresentableContext<NavigationConfigurator>) -> UIViewController {
   |                                        `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
25 |         return UIViewController()
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:32:53: error: cannot find type 'UIViewController' in scope
30 |     }
31 |
32 |     func updateUIViewController(_ uiViewController: UIViewController,
   |                                                     `- error: cannot find type 'UIViewController' in scope
33 |                                 context: UIViewControllerRepresentableContext<NavigationConfigurator>) {
34 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:33:42: error: cannot find type 'UIViewControllerRepresentableContext' in scope
31 |
32 |     func updateUIViewController(_ uiViewController: UIViewController,
33 |                                 context: UIViewControllerRepresentableContext<NavigationConfigurator>) {
   |                                          `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
34 |
35 |         uiViewController.navigationController?.navigationBar.isHidden = hidden
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+hideNavigationBarWithoutLosingSwipeBack.swift:13:40: error: cannot find type 'UIViewControllerRepresentable' in scope
11 | }
12 |
13 | private struct NavigationConfigurator: UIViewControllerRepresentable {
   |                                        `- error: cannot find type 'UIViewControllerRepresentable' in scope
14 |     let hidden: Bool
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:5:61: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | extension View {
   | `- note: add @available attribute to enclosing extension
 4 |
 5 |     func hackNavigationToAllowSwipeBackWhenHidden() -> some View {
   |          |                                                  `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 6 |         return background(NavigationConfigurator())
 7 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:3:11: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
 4 |
 5 |     func hackNavigationToAllowSwipeBackWhenHidden() -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:12:34: error: cannot find type 'UIGestureRecognizerDelegate' in scope
10 |
11 | private struct NavigationConfigurator: UIViewControllerRepresentable {
12 |     class Coordinator: NSObject, UIGestureRecognizerDelegate {
   |                                  `- error: cannot find type 'UIGestureRecognizerDelegate' in scope
13 |         weak var navigationController: UINavigationController?
14 |         weak var originalDelegate: UIGestureRecognizerDelegate?
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:13:40: error: cannot find type 'UINavigationController' in scope
11 | private struct NavigationConfigurator: UIViewControllerRepresentable {
12 |     class Coordinator: NSObject, UIGestureRecognizerDelegate {
13 |         weak var navigationController: UINavigationController?
   |                                        `- error: cannot find type 'UINavigationController' in scope
14 |         weak var originalDelegate: UIGestureRecognizerDelegate?
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:14:36: error: cannot find type 'UIGestureRecognizerDelegate' in scope
12 |     class Coordinator: NSObject, UIGestureRecognizerDelegate {
13 |         weak var navigationController: UINavigationController?
14 |         weak var originalDelegate: UIGestureRecognizerDelegate?
   |                                    `- error: cannot find type 'UIGestureRecognizerDelegate' in scope
15 |
16 |         deinit {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:24:64: error: cannot find type 'UIGestureRecognizer' in scope
22 |         }
23 |
24 |         func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
   |                                                                `- error: cannot find type 'UIGestureRecognizer' in scope
25 |             if let navigationController = navigationController,
26 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:35:53: error: cannot find type 'UIGestureRecognizer' in scope
33 |         }
34 |
35 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
   |                                                     `- error: cannot find type 'UIGestureRecognizer' in scope
36 |             if let navigationController = navigationController,
37 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:35:95: error: cannot find type 'UITouch' in scope
33 |         }
34 |
35 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
   |                                                                                               `- error: cannot find type 'UITouch' in scope
36 |             if let navigationController = navigationController,
37 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:47:53: error: cannot find type 'UIGestureRecognizer' in scope
45 |
46 |         @available(iOS 13.4, *)
47 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
   |                                                     `- error: cannot find type 'UIGestureRecognizer' in scope
48 |             if let navigationController = navigationController,
49 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:47:95: error: cannot find type 'UIEvent' in scope
45 |
46 |         @available(iOS 13.4, *)
47 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
   |                                                                                               `- error: cannot find type 'UIEvent' in scope
48 |             if let navigationController = navigationController,
49 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:58:53: error: cannot find type 'UIGestureRecognizer' in scope
56 |         }
57 |
58 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive press: UIPress) -> Bool {
   |                                                     `- error: cannot find type 'UIGestureRecognizer' in scope
59 |             if let navigationController = navigationController,
60 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:58:95: error: cannot find type 'UIPress' in scope
56 |         }
57 |
58 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive press: UIPress) -> Bool {
   |                                                                                               `- error: cannot find type 'UIPress' in scope
59 |             if let navigationController = navigationController,
60 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:70:105: error: cannot find type 'UIViewController' in scope
68 |     }
69 |
70 |     func makeUIViewController(context: UIViewControllerRepresentableContext<NavigationConfigurator>) -> UIViewController {
   |                                                                                                         `- error: cannot find type 'UIViewController' in scope
71 |         let controller = UIViewController()
72 |         controller.title = "Some title"
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:70:40: error: cannot find type 'UIViewControllerRepresentableContext' in scope
68 |     }
69 |
70 |     func makeUIViewController(context: UIViewControllerRepresentableContext<NavigationConfigurator>) -> UIViewController {
   |                                        `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
71 |         let controller = UIViewController()
72 |         controller.title = "Some title"
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:81:53: error: cannot find type 'UIViewController' in scope
79 |     }
80 |
81 |     func updateUIViewController(_ uiViewController: UIViewController,
   |                                                     `- error: cannot find type 'UIViewController' in scope
82 |                                 context: UIViewControllerRepresentableContext<NavigationConfigurator>) {
83 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:82:42: error: cannot find type 'UIViewControllerRepresentableContext' in scope
80 |
81 |     func updateUIViewController(_ uiViewController: UIViewController,
82 |                                 context: UIViewControllerRepresentableContext<NavigationConfigurator>) {
   |                                          `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
83 |
84 |         uiViewController.navigationController?.interactivePopGestureRecognizer?.isEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:11:40: error: cannot find type 'UIViewControllerRepresentable' in scope
 9 | }
10 |
11 | private struct NavigationConfigurator: UIViewControllerRepresentable {
   |                                        `- error: cannot find type 'UIViewControllerRepresentable' in scope
12 |     class Coordinator: NSObject, UIGestureRecognizerDelegate {
13 |         weak var navigationController: UINavigationController?
[9/13] Compiling FancyScrollView BlurView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:11:78: error: cannot find type 'UIView' in scope
 9 |
10 | public struct BlurView: UIViewRepresentable {
11 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
   |                                                                              `- error: cannot find type 'UIView' in scope
12 |         let view = UIView(frame: .zero)
13 |         view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:11:37: error: cannot find type 'UIViewRepresentableContext' in scope
 9 |
10 | public struct BlurView: UIViewRepresentable {
11 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
   |                                     `- error: cannot find type 'UIViewRepresentableContext' in scope
12 |         let view = UIView(frame: .zero)
13 |         view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:29:40: error: cannot find type 'UIView' in scope
27 |     }
28 |
29 |     public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
   |                                        `- error: cannot find type 'UIView' in scope
30 |         guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
31 |         let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:29:57: error: cannot find type 'UIViewRepresentableContext' in scope
27 |     }
28 |
29 |     public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
   |                                                         `- error: cannot find type 'UIViewRepresentableContext' in scope
30 |         guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
31 |         let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:10:25: error: cannot find type 'UIViewRepresentable' in scope
 8 | import SwiftUI
 9 |
10 | public struct BlurView: UIViewRepresentable {
   |                         `- error: cannot find type 'UIViewRepresentable' in scope
11 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
12 |         let view = UIView(frame: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:12:20: error: cannot find 'UIView' in scope
10 | public struct BlurView: UIViewRepresentable {
11 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
12 |         let view = UIView(frame: .zero)
   |                    `- error: cannot find 'UIView' in scope
13 |         view.backgroundColor = .clear
14 |         let blurEffect = UIBlurEffect(style: .systemThinMaterial)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:12:35: error: cannot infer contextual base in reference to member 'zero'
10 | public struct BlurView: UIViewRepresentable {
11 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
12 |         let view = UIView(frame: .zero)
   |                                   `- error: cannot infer contextual base in reference to member 'zero'
13 |         view.backgroundColor = .clear
14 |         let blurEffect = UIBlurEffect(style: .systemThinMaterial)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:13:33: error: cannot infer contextual base in reference to member 'clear'
11 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
12 |         let view = UIView(frame: .zero)
13 |         view.backgroundColor = .clear
   |                                 `- error: cannot infer contextual base in reference to member 'clear'
14 |         let blurEffect = UIBlurEffect(style: .systemThinMaterial)
15 |         let blurView = UIVisualEffectView(effect: blurEffect)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:14:26: error: cannot find 'UIBlurEffect' in scope
12 |         let view = UIView(frame: .zero)
13 |         view.backgroundColor = .clear
14 |         let blurEffect = UIBlurEffect(style: .systemThinMaterial)
   |                          `- error: cannot find 'UIBlurEffect' in scope
15 |         let blurView = UIVisualEffectView(effect: blurEffect)
16 |         blurView.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:14:47: error: cannot infer contextual base in reference to member 'systemThinMaterial'
12 |         let view = UIView(frame: .zero)
13 |         view.backgroundColor = .clear
14 |         let blurEffect = UIBlurEffect(style: .systemThinMaterial)
   |                                               `- error: cannot infer contextual base in reference to member 'systemThinMaterial'
15 |         let blurView = UIVisualEffectView(effect: blurEffect)
16 |         blurView.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:15:24: error: cannot find 'UIVisualEffectView' in scope
13 |         view.backgroundColor = .clear
14 |         let blurEffect = UIBlurEffect(style: .systemThinMaterial)
15 |         let blurView = UIVisualEffectView(effect: blurEffect)
   |                        `- error: cannot find 'UIVisualEffectView' in scope
16 |         blurView.translatesAutoresizingMaskIntoConstraints = false
17 |         view.insertSubview(blurView, at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:30:58: error: cannot find type 'UIVisualEffectView' in scope
28 |
29 |     public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
30 |         guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
   |                                                          `- error: cannot find type 'UIVisualEffectView' in scope
31 |         let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
32 |         effectView.effect = blurEffect
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:31:26: error: cannot find 'UIBlurEffect' in scope
29 |     public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
30 |         guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
31 |         let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
   |                          `- error: cannot find 'UIBlurEffect' in scope
32 |         effectView.effect = blurEffect
33 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BlurView.swift:31:90: error: cannot infer contextual base in reference to member 'dark'
29 |     public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
30 |         guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
31 |         let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
   |                                                                                          `- error: cannot infer contextual base in reference to member 'dark'
32 |         effectView.effect = blurEffect
33 |
[10/13] Compiling FancyScrollView FancyScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:5:21: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
 6 |     let headerHeight: CGFloat
 7 |     let scrollUpHeaderBehavior: ScrollUpHeaderBehavior
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:9:17: error: 'AnyView' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 7 |     let scrollUpHeaderBehavior: ScrollUpHeaderBehavior
 8 |     let scrollDownHeaderBehavior: ScrollDownHeaderBehavior
 9 |     let header: AnyView?
   |                 `- error: 'AnyView' is only available in macOS 10.15 or newer
10 |     let content: AnyView
11 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:10:18: error: 'AnyView' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
 8 |     let scrollDownHeaderBehavior: ScrollDownHeaderBehavior
 9 |     let header: AnyView?
10 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
11 |
12 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:49:20: error: 'View' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            |       `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:49:29: error: 'View' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            |                `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:49:67: error: 'Color' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                                      `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:49:75: error: 'Color' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                                              `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:49:81: error: 'white' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                                                    `- error: 'white' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:64:20: error: 'View' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   :
62 |     }
63 |
64 |     public init<A: View>(title: String = "", titleColor: Color = Color.white,
   |            |       `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
65 |                          headerHeight: CGFloat = 300,
66 |                          scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:64:58: error: 'Color' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   :
62 |     }
63 |
64 |     public init<A: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                             `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
65 |                          headerHeight: CGFloat = 300,
66 |                          scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:64:66: error: 'Color' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   :
62 |     }
63 |
64 |     public init<A: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                                     `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
65 |                          headerHeight: CGFloat = 300,
66 |                          scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:64:72: error: 'white' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   :
62 |     }
63 |
64 |     public init<A: View>(title: String = "", titleColor: Color = Color.white,
   |            |                                                           `- error: 'white' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
65 |                          headerHeight: CGFloat = 300,
66 |                          scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/HeaderScrollView.swift:6:20: error: 'colorScheme' is only available in macOS 10.15 or newer
  3 | private let navigationBarHeight: CGFloat = 44
  4 |
  5 | struct HeaderScrollView: View {
    |        `- note: add @available attribute to enclosing struct
  6 |     @Environment(\.colorScheme)
    |                    `- error: 'colorScheme' is only available in macOS 10.15 or newer
  7 |     private var colorScheme: ColorScheme
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:14:20: error: 'AnyView' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   |                    |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
15 |                 HeaderScrollView(title: title, titleColor: titleColor,
16 |                                  headerHeight: headerHeight,
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:37:25: warning: expression implicitly coerced from 'Spacer?' to 'Any'
35 |                         } : nil
36 |
37 |                         title != "" ? Spacer() : nil
   |                         |           |- note: provide a default value to avoid this warning
   |                         |           |- note: force-unwrap the value to avoid this warning
   |                         |           `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
   |                         `- warning: expression implicitly coerced from 'Spacer?' to 'Any'
38 |
39 |                         content
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:23:20: error: 'AnyView' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
21 |             )
22 |         } else {
23 |             return AnyView(
   |                    |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
24 |                 AppleMusicStyleScrollView {
25 |                     VStack {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:25:21: error: 'VStack' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
23 |             return AnyView(
24 |                 AppleMusicStyleScrollView {
25 |                     VStack {
   |                     |- error: 'VStack' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                         title != "" ? HStack {
27 |                             Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:26:25: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
24 |                 AppleMusicStyleScrollView {
25 |                     VStack {
26 |                         title != "" ? HStack {
   |                         |- warning: conformance of 'Optional<Wrapped>' 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
27 |                             Text(title)
28 |                                 .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:26:39: error: 'HStack' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
24 |                 AppleMusicStyleScrollView {
25 |                     VStack {
26 |                         title != "" ? HStack {
   |                                       |- error: 'HStack' is only available in macOS 10.15 or newer
   |                                       `- note: add 'if #available' version check
27 |                             Text(title)
28 |                                 .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:27:29: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
25 |                     VStack {
26 |                         title != "" ? HStack {
27 |                             Text(title)
   |                             |- error: 'Text' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
28 |                                 .font(.largeTitle)
29 |                                 .foregroundColor(.white)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:28:34: error: 'font' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
26 |                         title != "" ? HStack {
27 |                             Text(title)
28 |                                 .font(.largeTitle)
   |                                  |- error: 'font' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
29 |                                 .foregroundColor(.white)
30 |                                 .fontWeight(.black)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:28:40: error: 'largeTitle' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
26 |                         title != "" ? HStack {
27 |                             Text(title)
28 |                                 .font(.largeTitle)
   |                                        |- error: 'largeTitle' is only available in macOS 10.15 or newer
   |                                        `- note: add 'if #available' version check
29 |                                 .foregroundColor(.white)
30 |                                 .fontWeight(.black)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:29:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
27 |                             Text(title)
28 |                                 .font(.largeTitle)
29 |                                 .foregroundColor(.white)
   |                                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
30 |                                 .fontWeight(.black)
31 |                                 .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:29:51: error: 'white' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
27 |                             Text(title)
28 |                                 .font(.largeTitle)
29 |                                 .foregroundColor(.white)
   |                                                   |- error: 'white' is only available in macOS 10.15 or newer
   |                                                   `- note: add 'if #available' version check
30 |                                 .fontWeight(.black)
31 |                                 .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:30:34: error: 'fontWeight' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
28 |                                 .font(.largeTitle)
29 |                                 .foregroundColor(.white)
30 |                                 .fontWeight(.black)
   |                                  |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
31 |                                 .padding(.horizontal, 16)
32 |                                 .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:31:34: error: 'padding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
29 |                                 .foregroundColor(.white)
30 |                                 .fontWeight(.black)
31 |                                 .padding(.horizontal, 16)
   |                                  |- error: 'padding' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
32 |                                 .fixedSize(horizontal: false, vertical: true)
33 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:32:34: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
30 |                                 .fontWeight(.black)
31 |                                 .padding(.horizontal, 16)
32 |                                 .fixedSize(horizontal: false, vertical: true)
   |                                  |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
33 |
34 |                             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:34:29: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
32 |                                 .fixedSize(horizontal: false, vertical: true)
33 |
34 |                             Spacer()
   |                             |- warning: conformance of 'Spacer' 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
35 |                         } : nil
36 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:34:29: error: 'Spacer' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
32 |                                 .fixedSize(horizontal: false, vertical: true)
33 |
34 |                             Spacer()
   |                             |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
35 |                         } : nil
36 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:26:46: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
24 |                 AppleMusicStyleScrollView {
25 |                     VStack {
26 |                         title != "" ? HStack {
   |                                              |- warning: conformance of 'Spacer' 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
27 |                             Text(title)
28 |                                 .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:37:25: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
35 |                         } : nil
36 |
37 |                         title != "" ? Spacer() : nil
   |                         `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
38 |
39 |                         content
SwiftUICore.ViewBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
 3 |     public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
 4 |     @available(*, unavailable, message: "this expression does not conform to 'View'")
 5 |     public static func buildExpression(_ invalid: Any) -> some View
   |                        `- note: 'buildExpression' has been explicitly marked unavailable here
 6 |
 7 |     public static func buildBlock() -> EmptyView
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:37:39: error: 'Spacer' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
35 |                         } : nil
36 |
37 |                         title != "" ? Spacer() : nil
   |                                       |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                                       `- note: add 'if #available' version check
38 |
39 |                         content
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:25:28: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct FancyScrollView: View {
   |               `- note: add @available attribute to enclosing struct
 4 |     let title: String
 5 |     let titleColor: Color
   :
10 |     let content: AnyView
11 |
12 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
13 |         if let header = header {
14 |             return AnyView(
   :
23 |             return AnyView(
24 |                 AppleMusicStyleScrollView {
25 |                     VStack {
   |                            |- warning: conformance of 'Optional<Wrapped>' 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
26 |                         title != "" ? HStack {
27 |                             Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:60:27: error: 'AnyView' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
   :
58 |                   scrollUpHeaderBehavior: scrollUpHeaderBehavior,
59 |                   scrollDownHeaderBehavior: scrollDownHeaderBehavior,
60 |                   header: AnyView(header()),
   |                           |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
61 |                   content: AnyView(content()))
62 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:60:27: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
   :
58 |                   scrollUpHeaderBehavior: scrollUpHeaderBehavior,
59 |                   scrollDownHeaderBehavior: scrollDownHeaderBehavior,
60 |                   header: AnyView(header()),
   |                           |- warning: conformance of 'Optional<Wrapped>' 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
61 |                   content: AnyView(content()))
62 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:61:28: error: 'AnyView' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   |            `- note: add @available attribute to enclosing initializer
50 |                                   headerHeight: CGFloat = 300,
51 |                                   scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
   :
59 |                   scrollDownHeaderBehavior: scrollDownHeaderBehavior,
60 |                   header: AnyView(header()),
61 |                   content: AnyView(content()))
   |                            |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
62 |     }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/FancyScrollView.swift:75:31: error: 'AnyView' is only available in macOS 10.15 or newer
45 | }
46 |
47 | extension FancyScrollView {
   | `- note: add @available attribute to enclosing extension
48 |
49 |     public init<A: View, B: View>(title: String = "", titleColor: Color = Color.white,
   :
62 |     }
63 |
64 |     public init<A: View>(title: String = "", titleColor: Color = Color.white,
   |            `- note: add @available attribute to enclosing initializer
65 |                          headerHeight: CGFloat = 300,
66 |                          scrollUpHeaderBehavior: ScrollUpHeaderBehavior = .parallax,
   :
73 |                      scrollDownHeaderBehavior: scrollDownHeaderBehavior,
74 |                      header: nil,
75 |                      content: AnyView(content()))
   |                               |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
76 |        }
77 |
[11/13] Compiling FancyScrollView BackButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:6:20: error: 'presentationMode' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
 6 |     @Environment(\.presentationMode)
   |                    `- error: 'presentationMode' is only available in macOS 10.15 or newer
 7 |     var presentationMode: Binding<PresentationMode>
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:4:16: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
 5 |
 6 |     @Environment(\.presentationMode)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:7:27: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
 6 |     @Environment(\.presentationMode)
 7 |     var presentationMode: Binding<PresentationMode>
   |                           `- error: 'Binding' is only available in macOS 10.15 or newer
 8 |
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:6:6: error: 'Environment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
 6 |     @Environment(\.presentationMode)
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
 7 |     var presentationMode: Binding<PresentationMode>
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 7 |     var presentationMode: Binding<PresentationMode>
 8 |
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:12:9: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
   |         |- warning: conformance of 'Optional<Wrapped>' 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
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
14 |                Image(systemName: "chevron.left")
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:13:13: error: 'Button' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
14 |                Image(systemName: "chevron.left")
15 |                    .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:14:16: error: 'Image' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
14 |                Image(systemName: "chevron.left")
   |                |- error: 'Image' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
15 |                    .resizable()
16 |                    .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:14:16: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
14 |                Image(systemName: "chevron.left")
   |                |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                `- note: add 'if #available' version check
15 |                    .resizable()
16 |                    .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:15:21: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
14 |                Image(systemName: "chevron.left")
15 |                    .resizable()
   |                     |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
16 |                    .aspectRatio(contentMode: .fit)
17 |                    .frame(height: 20, alignment: .leading)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:16:21: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
14 |                Image(systemName: "chevron.left")
15 |                    .resizable()
16 |                    .aspectRatio(contentMode: .fit)
   |                     |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
17 |                    .frame(height: 20, alignment: .leading)
18 |                    .foregroundColor(color)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:17:21: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
   :
15 |                    .resizable()
16 |                    .aspectRatio(contentMode: .fit)
17 |                    .frame(height: 20, alignment: .leading)
   |                     |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
18 |                    .foregroundColor(color)
19 |                    .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:17:51: error: 'leading' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
   :
15 |                    .resizable()
16 |                    .aspectRatio(contentMode: .fit)
17 |                    .frame(height: 20, alignment: .leading)
   |                                                   |- error: 'leading' is only available in macOS 10.15 or newer
   |                                                   `- note: add 'if #available' version check
18 |                    .foregroundColor(color)
19 |                    .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:18:21: error: 'foregroundColor' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
   :
16 |                    .aspectRatio(contentMode: .fit)
17 |                    .frame(height: 20, alignment: .leading)
18 |                    .foregroundColor(color)
   |                     |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
19 |                    .padding(.horizontal, 16)
20 |                    .font(Font.body.bold())
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:19:21: error: 'padding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
   :
17 |                    .frame(height: 20, alignment: .leading)
18 |                    .foregroundColor(color)
19 |                    .padding(.horizontal, 16)
   |                     |- error: 'padding' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
20 |                    .font(Font.body.bold())
21 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:20:21: error: 'font' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
   :
18 |                    .foregroundColor(color)
19 |                    .padding(.horizontal, 16)
20 |                    .font(Font.body.bold())
   |                     |- error: 'font' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
21 |             }
22 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:20:26: error: 'Font' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
   :
18 |                    .foregroundColor(color)
19 |                    .padding(.horizontal, 16)
20 |                    .font(Font.body.bold())
   |                          |- error: 'Font' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
21 |             }
22 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:20:31: error: 'body' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
   :
18 |                    .foregroundColor(color)
19 |                    .padding(.horizontal, 16)
20 |                    .font(Font.body.bold())
   |                               |- error: 'body' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
21 |             }
22 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:20:36: error: 'bold()' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
   :
18 |                    .foregroundColor(color)
19 |                    .padding(.horizontal, 16)
20 |                    .font(Font.body.bold())
   |                                    |- error: 'bold()' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
21 |             }
22 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:22:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
   :
20 |                    .font(Font.body.bold())
21 |             }
22 |             .onAppear {
   |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
23 |                 self.hasBeenShownAtLeastOnce = true
24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:23:17: error: setter for 'hasBeenShownAtLeastOnce' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
   :
21 |             }
22 |             .onAppear {
23 |                 self.hasBeenShownAtLeastOnce = true
   |                 |- error: setter for 'hasBeenShownAtLeastOnce' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
24 |             }
25 |         : nil
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/BackButton.swift:11:25: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | struct BackButton: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let color: Color
 5 |
   :
 9 |     @State private var hasBeenShownAtLeastOnce: Bool = false
10 |
11 |     var body: some View {
   |         |               |- warning: conformance of 'Optional<Wrapped>' 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
   |         `- note: add @available attribute to enclosing property
12 |         (presentationMode.wrappedValue.isPresented || hasBeenShownAtLeastOnce) ?
13 |             Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
[12/13] Compiling FancyScrollView AppleMusicStyleScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/AppleMusicStyleScrollView.swift:4:18: error: 'AnyView' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AppleMusicStyleScrollView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
 5 |
 6 |     @State
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/AppleMusicStyleScrollView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AppleMusicStyleScrollView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let content: AnyView
 5 |
 6 |     @State
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     private var offset: CGFloat = 0
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/AppleMusicStyleScrollView.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AppleMusicStyleScrollView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let content: AnyView
 5 |
   :
 7 |     private var offset: CGFloat = 0
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         ZStack {
11 |             ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/AppleMusicStyleScrollView.swift:41:19: error: 'View' is only available in macOS 10.15 or newer
37 |
38 |
39 | extension AppleMusicStyleScrollView {
   | `- note: add @available attribute to enclosing extension
40 |
41 |     init<Content: View>(content: () -> Content) {
   |     |             `- error: 'View' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
42 |         self.init(content: AnyView(content()))
43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/AppleMusicStyleScrollView.swift:18:25: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
16 |                             self.offset = offset
17 |                         }
18 |                         return Text("")
   |                         |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
   |                         `- note: remove 'return' statements to apply the result builder
19 |                     }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/AppleMusicStyleScrollView.swift:42:28: error: 'AnyView' is only available in macOS 10.15 or newer
37 |
38 |
39 | extension AppleMusicStyleScrollView {
   | `- note: add @available attribute to enclosing extension
40 |
41 |     init<Content: View>(content: () -> Content) {
   |     `- note: add @available attribute to enclosing initializer
42 |         self.init(content: AnyView(content()))
   |                            |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
43 |     }
44 |
[13/13] Compiling FancyScrollView View+navigationAllowSpipeBackWhenHidden.swift
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:5:61: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | extension View {
   | `- note: add @available attribute to enclosing extension
 4 |
 5 |     func hackNavigationToAllowSwipeBackWhenHidden() -> some View {
   |          |                                                  `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 6 |         return background(NavigationConfigurator())
 7 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:3:11: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
 4 |
 5 |     func hackNavigationToAllowSwipeBackWhenHidden() -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:12:34: error: cannot find type 'UIGestureRecognizerDelegate' in scope
10 |
11 | private struct NavigationConfigurator: UIViewControllerRepresentable {
12 |     class Coordinator: NSObject, UIGestureRecognizerDelegate {
   |                                  `- error: cannot find type 'UIGestureRecognizerDelegate' in scope
13 |         weak var navigationController: UINavigationController?
14 |         weak var originalDelegate: UIGestureRecognizerDelegate?
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:13:40: error: cannot find type 'UINavigationController' in scope
11 | private struct NavigationConfigurator: UIViewControllerRepresentable {
12 |     class Coordinator: NSObject, UIGestureRecognizerDelegate {
13 |         weak var navigationController: UINavigationController?
   |                                        `- error: cannot find type 'UINavigationController' in scope
14 |         weak var originalDelegate: UIGestureRecognizerDelegate?
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:14:36: error: cannot find type 'UIGestureRecognizerDelegate' in scope
12 |     class Coordinator: NSObject, UIGestureRecognizerDelegate {
13 |         weak var navigationController: UINavigationController?
14 |         weak var originalDelegate: UIGestureRecognizerDelegate?
   |                                    `- error: cannot find type 'UIGestureRecognizerDelegate' in scope
15 |
16 |         deinit {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:24:64: error: cannot find type 'UIGestureRecognizer' in scope
22 |         }
23 |
24 |         func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
   |                                                                `- error: cannot find type 'UIGestureRecognizer' in scope
25 |             if let navigationController = navigationController,
26 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:35:53: error: cannot find type 'UIGestureRecognizer' in scope
33 |         }
34 |
35 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
   |                                                     `- error: cannot find type 'UIGestureRecognizer' in scope
36 |             if let navigationController = navigationController,
37 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:35:95: error: cannot find type 'UITouch' in scope
33 |         }
34 |
35 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
   |                                                                                               `- error: cannot find type 'UITouch' in scope
36 |             if let navigationController = navigationController,
37 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:47:53: error: cannot find type 'UIGestureRecognizer' in scope
45 |
46 |         @available(iOS 13.4, *)
47 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
   |                                                     `- error: cannot find type 'UIGestureRecognizer' in scope
48 |             if let navigationController = navigationController,
49 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:47:95: error: cannot find type 'UIEvent' in scope
45 |
46 |         @available(iOS 13.4, *)
47 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive event: UIEvent) -> Bool {
   |                                                                                               `- error: cannot find type 'UIEvent' in scope
48 |             if let navigationController = navigationController,
49 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:58:53: error: cannot find type 'UIGestureRecognizer' in scope
56 |         }
57 |
58 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive press: UIPress) -> Bool {
   |                                                     `- error: cannot find type 'UIGestureRecognizer' in scope
59 |             if let navigationController = navigationController,
60 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:58:95: error: cannot find type 'UIPress' in scope
56 |         }
57 |
58 |         func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive press: UIPress) -> Bool {
   |                                                                                               `- error: cannot find type 'UIPress' in scope
59 |             if let navigationController = navigationController,
60 |                 navigationController.isNavigationBarHidden {
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:70:105: error: cannot find type 'UIViewController' in scope
68 |     }
69 |
70 |     func makeUIViewController(context: UIViewControllerRepresentableContext<NavigationConfigurator>) -> UIViewController {
   |                                                                                                         `- error: cannot find type 'UIViewController' in scope
71 |         let controller = UIViewController()
72 |         controller.title = "Some title"
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:70:40: error: cannot find type 'UIViewControllerRepresentableContext' in scope
68 |     }
69 |
70 |     func makeUIViewController(context: UIViewControllerRepresentableContext<NavigationConfigurator>) -> UIViewController {
   |                                        `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
71 |         let controller = UIViewController()
72 |         controller.title = "Some title"
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:81:53: error: cannot find type 'UIViewController' in scope
79 |     }
80 |
81 |     func updateUIViewController(_ uiViewController: UIViewController,
   |                                                     `- error: cannot find type 'UIViewController' in scope
82 |                                 context: UIViewControllerRepresentableContext<NavigationConfigurator>) {
83 |
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:82:42: error: cannot find type 'UIViewControllerRepresentableContext' in scope
80 |
81 |     func updateUIViewController(_ uiViewController: UIViewController,
82 |                                 context: UIViewControllerRepresentableContext<NavigationConfigurator>) {
   |                                          `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
83 |
84 |         uiViewController.navigationController?.interactivePopGestureRecognizer?.isEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:11:40: error: cannot find type 'UIViewControllerRepresentable' in scope
 9 | }
10 |
11 | private struct NavigationConfigurator: UIViewControllerRepresentable {
   |                                        `- error: cannot find type 'UIViewControllerRepresentable' in scope
12 |     class Coordinator: NSObject, UIGestureRecognizerDelegate {
13 |         weak var navigationController: UINavigationController?
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:6:16: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'NavigationConfigurator' conform to 'ShapeStyle'
 4 |
 5 |     func hackNavigationToAllowSwipeBackWhenHidden() -> some View {
 6 |         return background(NavigationConfigurator())
   |                `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'NavigationConfigurator' conform to 'ShapeStyle'
 7 |     }
 8 |
SwiftUICore.View:7:40: note: where 'S' = 'NavigationConfigurator'
 5 |     @inlinable nonisolated public func background(ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View
 6 |
 7 |     @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
   |                                        `- note: where 'S' = 'NavigationConfigurator'
 8 |
 9 |     @inlinable nonisolated public func background<S>(in shape: S, fillStyle: FillStyle = FillStyle()) -> some View where S : Shape
/Users/admin/builder/spi-builder-workspace/Sources/FancyScrollView/View+navigationAllowSpipeBackWhenHidden.swift:71:26: error: cannot find 'UIViewController' in scope
69 |
70 |     func makeUIViewController(context: UIViewControllerRepresentableContext<NavigationConfigurator>) -> UIViewController {
71 |         let controller = UIViewController()
   |                          `- error: cannot find 'UIViewController' in scope
72 |         controller.title = "Some title"
73 | //        controller.navigationItem.
BUILD FAILURE 6.0 macosSpm