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 ExpandableText, reference v1.0.0 (370712), with Swift 6.0 for macOS (SPM) on 14 Sep 2024 05:12:51 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/n3d1117/ExpandableText.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/n3d1117/ExpandableText
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 3707127 initial commit
Cloned https://github.com/n3d1117/ExpandableText.git
Revision (git rev-parse @):
3707127edfb075d26f6f14c940702974ed887f33
SUCCESS checkout https://github.com/n3d1117/ExpandableText.git at v1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/n3d1117/ExpandableText.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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-117DEE11B69C53C9.txt
[3/8] Compiling ExpandableText OverlayAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:11:20: error: 'Alignment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
   |                    `- error: 'Alignment' is only available in macOS 10.15 or newer
12 |     let view: () -> V
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:14:21: error: 'Alignment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
13 |
14 |     init(alignment: Alignment, @ViewBuilder view: @escaping () -> V) {
   |     |               `- error: 'Alignment' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
15 |         self.alignment = alignment
16 |         self.view = view
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:14:33: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
13 |
14 |     init(alignment: Alignment, @ViewBuilder view: @escaping () -> V) {
   |     |                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
15 |         self.alignment = alignment
16 |         self.view = view
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:19:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
   :
17 |     }
18 |
19 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
20 |         if #available(iOS 15.0, *) {
21 |             content.overlay(alignment: alignment, content: view)
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:10:35: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 |                 `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:20:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
18 |
19 |     func body(content: Content) -> some View {
20 |         if #available(iOS 15.0, *) {
   |            `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
21 |             content.overlay(alignment: alignment, content: view)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:21:21: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
   :
17 |     }
18 |
19 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
20 |         if #available(iOS 15.0, *) {
21 |             content.overlay(alignment: alignment, content: view)
   |                     |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
   |                     `- note: add 'if #available' version check
22 |         } else {
23 |             content.overlay(view(), alignment: alignment)
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:20:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
   :
17 |     }
18 |
19 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
20 |         if #available(iOS 15.0, *) {
   |                                    |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
   |                                    `- note: add 'if #available' version check
21 |             content.overlay(alignment: alignment, content: view)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:20:36: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
   :
17 |     }
18 |
19 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
20 |         if #available(iOS 15.0, *) {
   |                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
21 |             content.overlay(alignment: alignment, content: view)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:22:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
   :
17 |     }
18 |
19 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
20 |         if #available(iOS 15.0, *) {
21 |             content.overlay(alignment: alignment, content: view)
22 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             content.overlay(view(), alignment: alignment)
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:19:46: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
   :
17 |     }
18 |
19 |     func body(content: Content) -> some View {
   |          |                                   |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |          |                                   `- note: add 'if #available' version check
   |          `- note: add @available attribute to enclosing instance method
20 |         if #available(iOS 15.0, *) {
21 |             content.overlay(alignment: alignment, content: view)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module ExpandableText
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText+Modifiers.swift:18:23: error: 'Font' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public extension ExpandableText {
    |        `- note: add @available attribute to enclosing extension
 12 |
 13 |     /**
    :
 16 |      - Returns: A new `ExpandableText` instance with the specified font applied.
 17 |      */
 18 |     func font(_ font: Font) -> Self {
    |          |            `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 19 |         var copy = self
 20 |         copy.font = font
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText+Modifiers.swift:29:35: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public extension ExpandableText {
    |        `- note: add @available attribute to enclosing extension
 12 |
 13 |     /**
    :
 27 |      - Returns: A new `ExpandableText` instance with the specified foreground color applied.
 28 |      */
 29 |     func foregroundColor(_ color: Color) -> Self {
    |          |                        `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 30 |         var copy = self
 31 |         copy.color = color
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText+Modifiers.swift:62:33: error: 'Font' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public extension ExpandableText {
    |        `- note: add @available attribute to enclosing extension
 12 |
 13 |     /**
    :
 60 |      - Returns: A new `ExpandableText` instance with the specified "show more" button font applied.
 61 |      */
 62 |     func moreButtonFont(_ font: Font) -> Self {
    |          |                      `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 63 |         var copy = self
 64 |         copy.moreButtonFont = font
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText+Modifiers.swift:73:35: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public extension ExpandableText {
    |        `- note: add @available attribute to enclosing extension
 12 |
 13 |     /**
    :
 71 |      - Returns: A new `ExpandableText` instance with the specified "show more" button color applied.
 72 |      */
 73 |     func moreButtonColor(_ color: Color) -> Self {
    |          |                        `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 74 |         var copy = self
 75 |         copy.moreButtonColor = color
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText+Modifiers.swift:84:39: error: 'Animation' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public extension ExpandableText {
    |        `- note: add @available attribute to enclosing extension
 12 |
 13 |     /**
    :
 82 |      - Returns: A new `ExpandableText` instance with the specified expansion animation applied.
 83 |      */
 84 |     func expandAnimation(_ animation: Animation) -> Self {
    |          |                            `- error: 'Animation' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 85 |         var copy = self
 86 |         copy.expandAnimation = animation
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 31 |     @State private var isTruncated: Bool = false
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:31:6: error: 'State' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
 31 |     @State private var isTruncated: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 32 |
 33 |     @State private var intrinsicSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
 31 |     @State private var isTruncated: Bool = false
 32 |
 33 |     @State private var intrinsicSize: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 34 |     @State private var truncatedSize: CGSize = .zero
 35 |     @State private var moreTextSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 32 |
 33 |     @State private var intrinsicSize: CGSize = .zero
 34 |     @State private var truncatedSize: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 35 |     @State private var moreTextSize: CGSize = .zero
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 33 |     @State private var intrinsicSize: CGSize = .zero
 34 |     @State private var truncatedSize: CGSize = .zero
 35 |     @State private var moreTextSize: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 36 |
 37 |     private let text: String
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:38:24: error: 'Font' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 36 |
 37 |     private let text: String
 38 |     internal var font: Font = .body
    |                        `- error: 'Font' is only available in macOS 10.15 or newer
 39 |     internal var color: Color = .primary
 40 |     internal var lineLimit: Int = 3
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:38:32: error: 'body' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 36 |
 37 |     private let text: String
 38 |     internal var font: Font = .body
    |                                `- error: 'body' is only available in macOS 10.15 or newer
 39 |     internal var color: Color = .primary
 40 |     internal var lineLimit: Int = 3
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:39:25: error: 'Color' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 37 |     private let text: String
 38 |     internal var font: Font = .body
 39 |     internal var color: Color = .primary
    |                         `- error: 'Color' is only available in macOS 10.15 or newer
 40 |     internal var lineLimit: Int = 3
 41 |     internal var moreButtonText: String = "more"
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:39:34: error: 'primary' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 37 |     private let text: String
 38 |     internal var font: Font = .body
 39 |     internal var color: Color = .primary
    |                                  `- error: 'primary' is only available in macOS 10.15 or newer
 40 |     internal var lineLimit: Int = 3
 41 |     internal var moreButtonText: String = "more"
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:42:34: error: 'Font' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 40 |     internal var lineLimit: Int = 3
 41 |     internal var moreButtonText: String = "more"
 42 |     internal var moreButtonFont: Font?
    |                                  `- error: 'Font' is only available in macOS 10.15 or newer
 43 |     internal var moreButtonColor: Color = .accentColor
 44 |     internal var expandAnimation: Animation = .default
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:43:35: error: 'Color' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 41 |     internal var moreButtonText: String = "more"
 42 |     internal var moreButtonFont: Font?
 43 |     internal var moreButtonColor: Color = .accentColor
    |                                   `- error: 'Color' is only available in macOS 10.15 or newer
 44 |     internal var expandAnimation: Animation = .default
 45 |     internal var trimMultipleNewlinesWhenTruncated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:43:44: error: 'accentColor' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 41 |     internal var moreButtonText: String = "more"
 42 |     internal var moreButtonFont: Font?
 43 |     internal var moreButtonColor: Color = .accentColor
    |                                            `- error: 'accentColor' is only available in macOS 10.15 or newer
 44 |     internal var expandAnimation: Animation = .default
 45 |     internal var trimMultipleNewlinesWhenTruncated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:44:35: error: 'Animation' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 42 |     internal var moreButtonFont: Font?
 43 |     internal var moreButtonColor: Color = .accentColor
 44 |     internal var expandAnimation: Animation = .default
    |                                   `- error: 'Animation' is only available in macOS 10.15 or newer
 45 |     internal var trimMultipleNewlinesWhenTruncated: Bool = true
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:44:48: error: 'default' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 42 |     internal var moreButtonFont: Font?
 43 |     internal var moreButtonColor: Color = .accentColor
 44 |     internal var expandAnimation: Animation = .default
    |                                                `- error: 'default' is only available in macOS 10.15 or newer
 45 |     internal var trimMultipleNewlinesWhenTruncated: Bool = true
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:56:27: error: 'View' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:99:31: error: 'View' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 97 |     }
 98 |
 99 |     private var content: some View {
    |                 |             `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
100 |         Text(.init(
101 |             trimMultipleNewlinesWhenTruncated
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:11:20: error: 'Alignment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
   |                    `- error: 'Alignment' is only available in macOS 10.15 or newer
12 |     let view: () -> V
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:14:21: error: 'Alignment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
13 |
14 |     init(alignment: Alignment, @ViewBuilder view: @escaping () -> V) {
   |     |               `- error: 'Alignment' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
15 |         self.alignment = alignment
16 |         self.view = view
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:14:33: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
13 |
14 |     init(alignment: Alignment, @ViewBuilder view: @escaping () -> V) {
   |     |                           `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
15 |         self.alignment = alignment
16 |         self.view = view
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:19:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
   :
17 |     }
18 |
19 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
20 |         if #available(iOS 15.0, *) {
21 |             content.overlay(alignment: alignment, content: view)
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/OverlayAdapter.swift:10:35: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct OverlayAdapter<V: View>: ViewModifier {
   |                 |                 `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing generic struct
11 |     let alignment: Alignment
12 |     let view: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:15:20: error: 'layoutDirection' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
13 |     let enabled: Bool
14 |
15 |     @Environment(\.layoutDirection) private var layoutDirection
   |                    `- error: 'layoutDirection' is only available in macOS 10.15 or newer
16 |
17 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:15:6: error: 'Environment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
13 |     let enabled: Bool
14 |
15 |     @Environment(\.layoutDirection) private var layoutDirection
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
16 |
17 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:17:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:51:78: error: 'View' is only available in macOS 10.15 or newer
48 | }
49 |
50 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
51 |     func applyingTruncationMask(moreTextSize: CGSize, enabled: Bool) -> some View {
   |          |                                                                   `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
52 |         modifier(TruncationTextMask(size: moreTextSize, enabled: enabled))
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
48 | }
49 |
50 | internal extension View {
   |          |         `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing extension
51 |     func applyingTruncationMask(moreTextSize: CGSize, enabled: Bool) -> some View {
52 |         modifier(TruncationTextMask(size: moreTextSize, enabled: enabled))
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:12:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | // https://www.fivestars.blog/articles/swiftui-share-layout-information/
11 | private struct SizePreferenceKey: PreferenceKey {
12 |     static var defaultValue: CGSize = .zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static func reduce(value: inout CGSize, nextValue: () -> CGSize) {}
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:17:65: error: 'View' is only available in macOS 10.15 or newer
14 | }
15 |
16 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
17 |     func readSize(onChange: @escaping (CGSize) -> Void) -> some View {
   |          |                                                      `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
18 |         background(
19 |             GeometryReader { geometryProxy in
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
14 | }
15 |
16 | internal extension View {
   |          |         `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing extension
17 |     func readSize(onChange: @escaping (CGSize) -> Void) -> some View {
18 |         background(
[5/8] Compiling ExpandableText ViewSizeReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:12:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | // https://www.fivestars.blog/articles/swiftui-share-layout-information/
11 | private struct SizePreferenceKey: PreferenceKey {
12 |     static var defaultValue: CGSize = .zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static func reduce(value: inout CGSize, nextValue: () -> CGSize) {}
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:17:65: error: 'View' is only available in macOS 10.15 or newer
14 | }
15 |
16 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
17 |     func readSize(onChange: @escaping (CGSize) -> Void) -> some View {
   |          |                                                      `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
18 |         background(
19 |             GeometryReader { geometryProxy in
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
14 | }
15 |
16 | internal extension View {
   |          |         `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing extension
17 |     func readSize(onChange: @escaping (CGSize) -> Void) -> some View {
18 |         background(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:18:9: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
17 |     func readSize(onChange: @escaping (CGSize) -> Void) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         background(
   |         |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
19 |             GeometryReader { geometryProxy in
20 |                 Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:19:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
14 | }
15 |
16 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
17 |     func readSize(onChange: @escaping (CGSize) -> Void) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         background(
19 |             GeometryReader { geometryProxy in
   |             |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
20 |                 Color.clear
21 |                     .preference(key: SizePreferenceKey.self, value: geometryProxy.size)
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:20:17: error: 'Color' is only available in macOS 10.15 or newer
14 | }
15 |
16 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
17 |     func readSize(onChange: @escaping (CGSize) -> Void) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         background(
19 |             GeometryReader { geometryProxy in
20 |                 Color.clear
   |                 |- error: 'Color' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
21 |                     .preference(key: SizePreferenceKey.self, value: geometryProxy.size)
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:20:23: error: 'clear' is only available in macOS 10.15 or newer
14 | }
15 |
16 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
17 |     func readSize(onChange: @escaping (CGSize) -> Void) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         background(
19 |             GeometryReader { geometryProxy in
20 |                 Color.clear
   |                       |- error: 'clear' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
21 |                     .preference(key: SizePreferenceKey.self, value: geometryProxy.size)
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:21:22: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
17 |     func readSize(onChange: @escaping (CGSize) -> Void) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         background(
19 |             GeometryReader { geometryProxy in
20 |                 Color.clear
21 |                     .preference(key: SizePreferenceKey.self, value: geometryProxy.size)
   |                      |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
22 |             }
23 |         )
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/ViewSizeReader.swift:24:10: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
17 |     func readSize(onChange: @escaping (CGSize) -> Void) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         background(
19 |             GeometryReader { geometryProxy in
   :
22 |             }
23 |         )
24 |         .onPreferenceChange(SizePreferenceKey.self, perform: onChange)
   |          |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
25 |     }
26 | }
[6/8] Compiling ExpandableText TruncationTextMask.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:15:20: error: 'layoutDirection' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
13 |     let enabled: Bool
14 |
15 |     @Environment(\.layoutDirection) private var layoutDirection
   |                    `- error: 'layoutDirection' is only available in macOS 10.15 or newer
16 |
17 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:15:6: error: 'Environment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
13 |     let enabled: Bool
14 |
15 |     @Environment(\.layoutDirection) private var layoutDirection
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
16 |
17 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:17:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:51:78: error: 'View' is only available in macOS 10.15 or newer
48 | }
49 |
50 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
51 |     func applyingTruncationMask(moreTextSize: CGSize, enabled: Bool) -> some View {
   |          |                                                                   `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
52 |         modifier(TruncationTextMask(size: moreTextSize, enabled: enabled))
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
48 | }
49 |
50 | internal extension View {
   |          |         `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing extension
51 |     func applyingTruncationMask(moreTextSize: CGSize, enabled: Bool) -> some View {
52 |         modifier(TruncationTextMask(size: moreTextSize, enabled: enabled))
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:20:18: error: 'mask' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
20 |                 .mask(
   |                  |- error: 'mask' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
21 |                     VStack(spacing: 0) {
22 |                         Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:21:21: error: 'VStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
20 |                 .mask(
21 |                     VStack(spacing: 0) {
   |                     |- error: 'VStack' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
22 |                         Rectangle()
23 |                         HStack(spacing: 0){
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:22:25: error: 'Rectangle' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
20 |                 .mask(
21 |                     VStack(spacing: 0) {
22 |                         Rectangle()
   |                         |- error: 'Rectangle' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
23 |                         HStack(spacing: 0){
24 |                             Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:23:25: error: 'HStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
21 |                     VStack(spacing: 0) {
22 |                         Rectangle()
23 |                         HStack(spacing: 0){
   |                         |- error: 'HStack' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
24 |                             Rectangle()
25 |                             HStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:24:29: error: 'Rectangle' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
22 |                         Rectangle()
23 |                         HStack(spacing: 0){
24 |                             Rectangle()
   |                             |- error: 'Rectangle' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
25 |                             HStack(spacing: 0) {
26 |                                 LinearGradient(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:25:29: error: 'HStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
23 |                         HStack(spacing: 0){
24 |                             Rectangle()
25 |                             HStack(spacing: 0) {
   |                             |- error: 'HStack' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
26 |                                 LinearGradient(
27 |                                     gradient: Gradient(stops: [
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:26:33: error: 'LinearGradient' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
24 |                             Rectangle()
25 |                             HStack(spacing: 0) {
26 |                                 LinearGradient(
   |                                 |- error: 'LinearGradient' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
27 |                                     gradient: Gradient(stops: [
28 |                                         Gradient.Stop(color: .black, location: 0),
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:27:47: error: 'Gradient' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
25 |                             HStack(spacing: 0) {
26 |                                 LinearGradient(
27 |                                     gradient: Gradient(stops: [
   |                                               |- error: 'Gradient' is only available in macOS 10.15 or newer
   |                                               `- note: add 'if #available' version check
28 |                                         Gradient.Stop(color: .black, location: 0),
29 |                                         Gradient.Stop(color: .clear, location: 0.9)
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:28:41: error: 'Gradient' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
26 |                                 LinearGradient(
27 |                                     gradient: Gradient(stops: [
28 |                                         Gradient.Stop(color: .black, location: 0),
   |                                         |- error: 'Gradient' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
29 |                                         Gradient.Stop(color: .clear, location: 0.9)
30 |                                     ]),
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:28:63: error: 'black' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
26 |                                 LinearGradient(
27 |                                     gradient: Gradient(stops: [
28 |                                         Gradient.Stop(color: .black, location: 0),
   |                                                               |- error: 'black' is only available in macOS 10.15 or newer
   |                                                               `- note: add 'if #available' version check
29 |                                         Gradient.Stop(color: .clear, location: 0.9)
30 |                                     ]),
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:29:41: error: 'Gradient' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
27 |                                     gradient: Gradient(stops: [
28 |                                         Gradient.Stop(color: .black, location: 0),
29 |                                         Gradient.Stop(color: .clear, location: 0.9)
   |                                         |- error: 'Gradient' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
30 |                                     ]),
31 |                                     startPoint: layoutDirection == .rightToLeft ? .trailing : .leading,
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:29:63: error: 'clear' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
27 |                                     gradient: Gradient(stops: [
28 |                                         Gradient.Stop(color: .black, location: 0),
29 |                                         Gradient.Stop(color: .clear, location: 0.9)
   |                                                               |- error: 'clear' is only available in macOS 10.15 or newer
   |                                                               `- note: add 'if #available' version check
30 |                                     ]),
31 |                                     startPoint: layoutDirection == .rightToLeft ? .trailing : .leading,
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:34:34: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
32 |                                     endPoint: layoutDirection == .rightToLeft ? .leading : .trailing
33 |                                 )
34 |                                 .frame(width: size.width, height: size.height)
   |                                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
35 |
36 |                                 Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:36:33: error: 'Rectangle' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
34 |                                 .frame(width: size.width, height: size.height)
35 |
36 |                                 Rectangle()
   |                                 |- error: 'Rectangle' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
37 |                                     .foregroundColor(.clear)
38 |                                     .frame(width: size.width)
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:37:38: error: 'foregroundColor' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
35 |
36 |                                 Rectangle()
37 |                                     .foregroundColor(.clear)
   |                                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                                      `- note: add 'if #available' version check
38 |                                     .frame(width: size.width)
39 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:37:55: error: 'clear' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
35 |
36 |                                 Rectangle()
37 |                                     .foregroundColor(.clear)
   |                                                       |- error: 'clear' is only available in macOS 10.15 or newer
   |                                                       `- note: add 'if #available' version check
38 |                                     .frame(width: size.width)
39 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:38:38: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
36 |                                 Rectangle()
37 |                                     .foregroundColor(.clear)
38 |                                     .frame(width: size.width)
   |                                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                                      `- note: add 'if #available' version check
39 |                             }
40 |                         }.frame(height: size.height)
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:40:27: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
38 |                                     .frame(width: size.width)
39 |                             }
40 |                         }.frame(height: size.height)
   |                           |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
41 |                     }
42 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:18:20: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
   |                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
19 |             content
20 |                 .mask(
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:45:18: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
43 |         } else {
44 |             content
45 |                 .fixedSize(horizontal: false, vertical: true)
   |                  |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
46 |         }
47 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:43:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
   :
41 |                     }
42 |                 )
43 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
44 |             content
45 |                 .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:17:46: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | private struct TruncationTextMask: ViewModifier {
   |                `- note: add @available attribute to enclosing struct
11 |
12 |     let size: CGSize
   :
15 |     @Environment(\.layoutDirection) private var layoutDirection
16 |
17 |     func body(content: Content) -> some View {
   |          |                                   |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |          |                                   `- note: add 'if #available' version check
   |          `- note: add @available attribute to enclosing instance method
18 |         if enabled {
19 |             content
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:52:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
48 | }
49 |
50 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
51 |     func applyingTruncationMask(moreTextSize: CGSize, enabled: Bool) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         modifier(TruncationTextMask(size: moreTextSize, enabled: enabled))
   |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
53 |     }
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/TruncationTextMask.swift:52:9: error: 'modifier' is only available in macOS 10.15 or newer
48 | }
49 |
50 | internal extension View {
   |          `- note: add @available attribute to enclosing extension
51 |     func applyingTruncationMask(moreTextSize: CGSize, enabled: Bool) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         modifier(TruncationTextMask(size: moreTextSize, enabled: enabled))
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
53 |     }
54 | }
[7/8] Compiling ExpandableText ExpandableText+Modifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText+Modifiers.swift:18:23: error: 'Font' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public extension ExpandableText {
    |        `- note: add @available attribute to enclosing extension
 12 |
 13 |     /**
    :
 16 |      - Returns: A new `ExpandableText` instance with the specified font applied.
 17 |      */
 18 |     func font(_ font: Font) -> Self {
    |          |            `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 19 |         var copy = self
 20 |         copy.font = font
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText+Modifiers.swift:29:35: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public extension ExpandableText {
    |        `- note: add @available attribute to enclosing extension
 12 |
 13 |     /**
    :
 27 |      - Returns: A new `ExpandableText` instance with the specified foreground color applied.
 28 |      */
 29 |     func foregroundColor(_ color: Color) -> Self {
    |          |                        `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 30 |         var copy = self
 31 |         copy.color = color
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText+Modifiers.swift:62:33: error: 'Font' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public extension ExpandableText {
    |        `- note: add @available attribute to enclosing extension
 12 |
 13 |     /**
    :
 60 |      - Returns: A new `ExpandableText` instance with the specified "show more" button font applied.
 61 |      */
 62 |     func moreButtonFont(_ font: Font) -> Self {
    |          |                      `- error: 'Font' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 63 |         var copy = self
 64 |         copy.moreButtonFont = font
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText+Modifiers.swift:73:35: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public extension ExpandableText {
    |        `- note: add @available attribute to enclosing extension
 12 |
 13 |     /**
    :
 71 |      - Returns: A new `ExpandableText` instance with the specified "show more" button color applied.
 72 |      */
 73 |     func moreButtonColor(_ color: Color) -> Self {
    |          |                        `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 74 |         var copy = self
 75 |         copy.moreButtonColor = color
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText+Modifiers.swift:84:39: error: 'Animation' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public extension ExpandableText {
    |        `- note: add @available attribute to enclosing extension
 12 |
 13 |     /**
    :
 82 |      - Returns: A new `ExpandableText` instance with the specified expansion animation applied.
 83 |      */
 84 |     func expandAnimation(_ animation: Animation) -> Self {
    |          |                            `- error: 'Animation' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 85 |         var copy = self
 86 |         copy.expandAnimation = animation
[8/8] Compiling ExpandableText ExpandableText.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 31 |     @State private var isTruncated: Bool = false
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:31:6: error: 'State' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
 31 |     @State private var isTruncated: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 32 |
 33 |     @State private var intrinsicSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
 31 |     @State private var isTruncated: Bool = false
 32 |
 33 |     @State private var intrinsicSize: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 34 |     @State private var truncatedSize: CGSize = .zero
 35 |     @State private var moreTextSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 32 |
 33 |     @State private var intrinsicSize: CGSize = .zero
 34 |     @State private var truncatedSize: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 35 |     @State private var moreTextSize: CGSize = .zero
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 33 |     @State private var intrinsicSize: CGSize = .zero
 34 |     @State private var truncatedSize: CGSize = .zero
 35 |     @State private var moreTextSize: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 36 |
 37 |     private let text: String
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:38:24: error: 'Font' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 36 |
 37 |     private let text: String
 38 |     internal var font: Font = .body
    |                        `- error: 'Font' is only available in macOS 10.15 or newer
 39 |     internal var color: Color = .primary
 40 |     internal var lineLimit: Int = 3
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:38:32: error: 'body' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 36 |
 37 |     private let text: String
 38 |     internal var font: Font = .body
    |                                `- error: 'body' is only available in macOS 10.15 or newer
 39 |     internal var color: Color = .primary
 40 |     internal var lineLimit: Int = 3
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:39:25: error: 'Color' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 37 |     private let text: String
 38 |     internal var font: Font = .body
 39 |     internal var color: Color = .primary
    |                         `- error: 'Color' is only available in macOS 10.15 or newer
 40 |     internal var lineLimit: Int = 3
 41 |     internal var moreButtonText: String = "more"
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:39:34: error: 'primary' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 37 |     private let text: String
 38 |     internal var font: Font = .body
 39 |     internal var color: Color = .primary
    |                                  `- error: 'primary' is only available in macOS 10.15 or newer
 40 |     internal var lineLimit: Int = 3
 41 |     internal var moreButtonText: String = "more"
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:42:34: error: 'Font' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 40 |     internal var lineLimit: Int = 3
 41 |     internal var moreButtonText: String = "more"
 42 |     internal var moreButtonFont: Font?
    |                                  `- error: 'Font' is only available in macOS 10.15 or newer
 43 |     internal var moreButtonColor: Color = .accentColor
 44 |     internal var expandAnimation: Animation = .default
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:43:35: error: 'Color' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 41 |     internal var moreButtonText: String = "more"
 42 |     internal var moreButtonFont: Font?
 43 |     internal var moreButtonColor: Color = .accentColor
    |                                   `- error: 'Color' is only available in macOS 10.15 or newer
 44 |     internal var expandAnimation: Animation = .default
 45 |     internal var trimMultipleNewlinesWhenTruncated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:43:44: error: 'accentColor' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 41 |     internal var moreButtonText: String = "more"
 42 |     internal var moreButtonFont: Font?
 43 |     internal var moreButtonColor: Color = .accentColor
    |                                            `- error: 'accentColor' is only available in macOS 10.15 or newer
 44 |     internal var expandAnimation: Animation = .default
 45 |     internal var trimMultipleNewlinesWhenTruncated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:44:35: error: 'Animation' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 42 |     internal var moreButtonFont: Font?
 43 |     internal var moreButtonColor: Color = .accentColor
 44 |     internal var expandAnimation: Animation = .default
    |                                   `- error: 'Animation' is only available in macOS 10.15 or newer
 45 |     internal var trimMultipleNewlinesWhenTruncated: Bool = true
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:44:48: error: 'default' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 42 |     internal var moreButtonFont: Font?
 43 |     internal var moreButtonColor: Color = .accentColor
 44 |     internal var expandAnimation: Animation = .default
    |                                                `- error: 'default' is only available in macOS 10.15 or newer
 45 |     internal var trimMultipleNewlinesWhenTruncated: Bool = true
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:56:27: error: 'View' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:99:31: error: 'View' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 97 |     }
 98 |
 99 |     private var content: some View {
    |                 |             `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
100 |         Text(.init(
101 |             trimMultipleNewlinesWhenTruncated
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:57:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
    |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
 59 |             .applyingTruncationMask(moreTextSize: moreTextSize, enabled: !isExpanded && isTruncated)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:58:14: error: 'lineLimit' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    |              |- error: 'lineLimit' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 59 |             .applyingTruncationMask(moreTextSize: moreTextSize, enabled: !isExpanded && isTruncated)
 60 |             .readSize { size in
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:61:17: error: setter for 'truncatedSize' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
 59 |             .applyingTruncationMask(moreTextSize: moreTextSize, enabled: !isExpanded && isTruncated)
 60 |             .readSize { size in
 61 |                 truncatedSize = size
    |                 |- error: setter for 'truncatedSize' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 62 |                 isTruncated = truncatedSize != intrinsicSize
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:62:17: error: setter for 'isTruncated' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 60 |             .readSize { size in
 61 |                 truncatedSize = size
 62 |                 isTruncated = truncatedSize != intrinsicSize
    |                 |- error: setter for 'isTruncated' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 63 |             }
 64 |             .background(
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:64:14: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 62 |                 isTruncated = truncatedSize != intrinsicSize
 63 |             }
 64 |             .background(
    |              |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 65 |                 content
 66 |                     .lineLimit(nil)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:66:22: error: 'lineLimit' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 64 |             .background(
 65 |                 content
 66 |                     .lineLimit(nil)
    |                      |- error: 'lineLimit' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 67 |                     .fixedSize(horizontal: false, vertical: true)
 68 |                     .hidden()
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:67:22: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 65 |                 content
 66 |                     .lineLimit(nil)
 67 |                     .fixedSize(horizontal: false, vertical: true)
    |                      |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 68 |                     .hidden()
 69 |                     .readSize { size in
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:68:22: error: 'hidden()' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 66 |                     .lineLimit(nil)
 67 |                     .fixedSize(horizontal: false, vertical: true)
 68 |                     .hidden()
    |                      |- error: 'hidden()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 69 |                     .readSize { size in
 70 |                         intrinsicSize = size
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:70:25: error: setter for 'intrinsicSize' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 68 |                     .hidden()
 69 |                     .readSize { size in
 70 |                         intrinsicSize = size
    |                         |- error: setter for 'intrinsicSize' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 71 |                         isTruncated = truncatedSize != intrinsicSize
 72 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:71:25: error: setter for 'isTruncated' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 69 |                     .readSize { size in
 70 |                         intrinsicSize = size
 71 |                         isTruncated = truncatedSize != intrinsicSize
    |                         |- error: setter for 'isTruncated' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 72 |                     }
 73 |             )
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:74:14: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 72 |                     }
 73 |             )
 74 |             .background(
    |              |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 75 |                 Text(moreButtonText)
 76 |                     .font(moreButtonFont ?? font)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:75:17: error: 'Text' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 73 |             )
 74 |             .background(
 75 |                 Text(moreButtonText)
    |                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 76 |                     .font(moreButtonFont ?? font)
 77 |                     .hidden()
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:76:22: error: 'font' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 74 |             .background(
 75 |                 Text(moreButtonText)
 76 |                     .font(moreButtonFont ?? font)
    |                      |- error: 'font' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 77 |                     .hidden()
 78 |                     .readSize { moreTextSize = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:77:22: error: 'hidden()' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 75 |                 Text(moreButtonText)
 76 |                     .font(moreButtonFont ?? font)
 77 |                     .hidden()
    |                      |- error: 'hidden()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 78 |                     .readSize { moreTextSize = $0 }
 79 |             )
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:78:33: error: setter for 'moreTextSize' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 76 |                     .font(moreButtonFont ?? font)
 77 |                     .hidden()
 78 |                     .readSize { moreTextSize = $0 }
    |                                 |- error: setter for 'moreTextSize' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 79 |             )
 80 |             .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:80:14: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 78 |                     .readSize { moreTextSize = $0 }
 79 |             )
 80 |             .contentShape(Rectangle())
    |              |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 81 |             .onTapGesture {
 82 |                 if !isExpanded, isTruncated {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:80:27: error: 'Rectangle' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 78 |                     .readSize { moreTextSize = $0 }
 79 |             )
 80 |             .contentShape(Rectangle())
    |                           |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 81 |             .onTapGesture {
 82 |                 if !isExpanded, isTruncated {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:81:14: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 79 |             )
 80 |             .contentShape(Rectangle())
 81 |             .onTapGesture {
    |              |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 82 |                 if !isExpanded, isTruncated {
 83 |                     withAnimation { isExpanded.toggle() }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:83:21: error: 'withAnimation' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 81 |             .onTapGesture {
 82 |                 if !isExpanded, isTruncated {
 83 |                     withAnimation { isExpanded.toggle() }
    |                     |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 }
 85 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:83:37: error: cannot pass as inout because setter for 'isExpanded' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 81 |             .onTapGesture {
 82 |                 if !isExpanded, isTruncated {
 83 |                     withAnimation { isExpanded.toggle() }
    |                                     |- error: cannot pass as inout because setter for 'isExpanded' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
 84 |                 }
 85 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:86:14: error: 'modifier' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 84 |                 }
 85 |             }
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, view: {
    |              |- error: 'modifier' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:86:23: 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
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 84 |                 }
 85 |             }
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, 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
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:86: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
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 84 |                 }
 85 |             }
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, view: {
    |                       |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                       `- note: add 'if #available' version check
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:86:23: 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
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 84 |                 }
 85 |             }
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, 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
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:86:50: error: 'trailingLastTextBaseline' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 84 |                 }
 85 |             }
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, view: {
    |                                                  |- error: 'trailingLastTextBaseline' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:86:82: 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
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 84 |                 }
 85 |             }
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, view: {
    |                                                                                  |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                                  `- note: add 'if #available' version check
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:88: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
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, view: {
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
    |                     |- 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
 89 |                         withAnimation(expandAnimation) { isExpanded.toggle() }
 90 |                     } label: {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:88:21: error: 'Button' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, view: {
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
    |                     |- error: 'Button' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 89 |                         withAnimation(expandAnimation) { isExpanded.toggle() }
 90 |                     } label: {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:88: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
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, view: {
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
    |                     |- 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
 89 |                         withAnimation(expandAnimation) { isExpanded.toggle() }
 90 |                     } label: {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:89:25: error: 'withAnimation' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
 89 |                         withAnimation(expandAnimation) { isExpanded.toggle() }
    |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 90 |                     } label: {
 91 |                         Text(moreButtonText)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:89:58: error: cannot pass as inout because setter for 'isExpanded' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
 89 |                         withAnimation(expandAnimation) { isExpanded.toggle() }
    |                                                          |- error: cannot pass as inout because setter for 'isExpanded' is only available in macOS 10.15 or newer
    |                                                          `- note: add 'if #available' version check
 90 |                     } label: {
 91 |                         Text(moreButtonText)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:91:25: 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
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 89 |                         withAnimation(expandAnimation) { isExpanded.toggle() }
 90 |                     } label: {
 91 |                         Text(moreButtonText)
    |                         |- 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
 92 |                             .font(moreButtonFont ?? font)
 93 |                             .foregroundColor(moreButtonColor)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:91:25: error: 'Text' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 89 |                         withAnimation(expandAnimation) { isExpanded.toggle() }
 90 |                     } label: {
 91 |                         Text(moreButtonText)
    |                         |- error: 'Text' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 92 |                             .font(moreButtonFont ?? font)
 93 |                             .foregroundColor(moreButtonColor)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:92:30: error: 'font' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 90 |                     } label: {
 91 |                         Text(moreButtonText)
 92 |                             .font(moreButtonFont ?? font)
    |                              |- error: 'font' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 93 |                             .foregroundColor(moreButtonColor)
 94 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:93:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 91 |                         Text(moreButtonText)
 92 |                             .font(moreButtonFont ?? font)
 93 |                             .foregroundColor(moreButtonColor)
    |                              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 94 |                     }
 95 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:90:30: 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
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 88 |                     Button {
 89 |                         withAnimation(expandAnimation) { isExpanded.toggle() }
 90 |                     } label: {
    |                              |- 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
 91 |                         Text(moreButtonText)
 92 |                             .font(moreButtonFont ?? font)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:87:45: error: 'buildIf' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 85 |             }
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, view: {
 87 |                 if !isExpanded, isTruncated {
    |                                             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                             `- note: add 'if #available' version check
 88 |                     Button {
 89 |                         withAnimation(expandAnimation) { isExpanded.toggle() }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:87:45: 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
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 85 |             }
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, view: {
 87 |                 if !isExpanded, isTruncated {
    |                                             |- 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
 88 |                     Button {
 89 |                         withAnimation(expandAnimation) { isExpanded.toggle() }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:95:17: error: 'buildIf' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 93 |                             .foregroundColor(moreButtonColor)
 94 |                     }
 95 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 96 |             }))
 97 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:86:82: 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
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
    :
 84 |                 }
 85 |             }
 86 |             .modifier(OverlayAdapter(alignment: .trailingLastTextBaseline, 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
 87 |                 if !isExpanded, isTruncated {
 88 |                     Button {
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:56:32: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 54 |     }
 55 |
 56 |     public var body: some View {
    |                |               |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 57 |         content
 58 |             .lineLimit(isExpanded ? nil : lineLimit)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:100:9: error: 'Text' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 97 |     }
 98 |
 99 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
100 |         Text(.init(
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
101 |             trimMultipleNewlinesWhenTruncated
102 |                 ? (!isExpanded && isTruncated ? textTrimmingDoubleNewlines : text)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:100:9: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 97 |     }
 98 |
 99 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
100 |         Text(.init(
    |         |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
101 |             trimMultipleNewlinesWhenTruncated
102 |                 ? (!isExpanded && isTruncated ? textTrimmingDoubleNewlines : text)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:105:10: error: 'font' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 97 |     }
 98 |
 99 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
100 |         Text(.init(
101 |             trimMultipleNewlinesWhenTruncated
    :
103 |                 : text
104 |         ))
105 |         .font(font)
    |          |- error: 'font' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
106 |         .foregroundColor(color)
107 |         .frame(maxWidth: .infinity, alignment: .leading)
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:106:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 97 |     }
 98 |
 99 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
100 |         Text(.init(
101 |             trimMultipleNewlinesWhenTruncated
    :
104 |         ))
105 |         .font(font)
106 |         .foregroundColor(color)
    |          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
107 |         .frame(maxWidth: .infinity, alignment: .leading)
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:107:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 97 |     }
 98 |
 99 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
100 |         Text(.init(
101 |             trimMultipleNewlinesWhenTruncated
    :
105 |         .font(font)
106 |         .foregroundColor(color)
107 |         .frame(maxWidth: .infinity, alignment: .leading)
    |          |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
108 |     }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/ExpandableText/ExpandableText.swift:107:49: error: 'leading' is only available in macOS 10.15 or newer
 26 |  ```
 27 | */
 28 | public struct ExpandableText: View {
    |               `- note: add @available attribute to enclosing struct
 29 |
 30 |     @State private var isExpanded: Bool = false
    :
 97 |     }
 98 |
 99 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
100 |         Text(.init(
101 |             trimMultipleNewlinesWhenTruncated
    :
105 |         .font(font)
106 |         .foregroundColor(color)
107 |         .frame(maxWidth: .infinity, alignment: .leading)
    |                                                 |- error: 'leading' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
108 |     }
109 |
BUILD FAILURE 6.0 macosSpm