The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SkeletonScreen, reference main (361c7a), with Swift 6.2 for macOS (SPM) on 28 Jul 2025 11:38:21 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tourcoder/SkeletonScreen.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tourcoder/SkeletonScreen
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 361c7ac Update README.md
Cloned https://github.com/tourcoder/SkeletonScreen.git
Revision (git rev-parse @):
361c7ac5add34c629da7e9ae5e3d411757a49b46
SUCCESS checkout https://github.com/tourcoder/SkeletonScreen.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tourcoder/SkeletonScreen.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SkeletonScreen
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:8:24: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
 9 |     var skeletonHeight: CGFloat
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:11:32: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
 9 |     var skeletonHeight: CGFloat
10 |
11 |     public init(skeletonColor: Color = .gray, skeletonHeight: CGFloat = 60) {
   |            |                   `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
12 |         self.skeletonColor = skeletonColor
13 |         self.skeletonHeight = skeletonHeight
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:11:41: error: 'gray' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
 9 |     var skeletonHeight: CGFloat
10 |
11 |     public init(skeletonColor: Color = .gray, skeletonHeight: CGFloat = 60) {
   |            |                            `- error: 'gray' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
12 |         self.skeletonColor = skeletonColor
13 |         self.skeletonHeight = skeletonHeight
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
18 |             VStack(alignment: .leading, spacing: 16) {
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:34:16: error: 'Color' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
34 |     var color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
35 |     var geometry: GeometryProxy
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:35:19: error: 'GeometryProxy' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
34 |     var color: Color
35 |     var geometry: GeometryProxy
   |                   `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
36 |
37 |     @State private var isAnimating: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:37:6: error: 'State' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
35 |     var geometry: GeometryProxy
36 |
37 |     @State private var isAnimating: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
38 |
39 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:39:27: error: 'View' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
[4/4] Compiling SkeletonScreen SkeletonScreen.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:8:24: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
 9 |     var skeletonHeight: CGFloat
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:11:32: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
 9 |     var skeletonHeight: CGFloat
10 |
11 |     public init(skeletonColor: Color = .gray, skeletonHeight: CGFloat = 60) {
   |            |                   `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
12 |         self.skeletonColor = skeletonColor
13 |         self.skeletonHeight = skeletonHeight
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:11:41: error: 'gray' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
 9 |     var skeletonHeight: CGFloat
10 |
11 |     public init(skeletonColor: Color = .gray, skeletonHeight: CGFloat = 60) {
   |            |                            `- error: 'gray' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
12 |         self.skeletonColor = skeletonColor
13 |         self.skeletonHeight = skeletonHeight
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
18 |             VStack(alignment: .leading, spacing: 16) {
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:34:16: error: 'Color' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
34 |     var color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
35 |     var geometry: GeometryProxy
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:35:19: error: 'GeometryProxy' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
34 |     var color: Color
35 |     var geometry: GeometryProxy
   |                   `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
36 |
37 |     @State private var isAnimating: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:37:6: error: 'State' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
35 |     var geometry: GeometryProxy
36 |
37 |     @State private var isAnimating: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
38 |
39 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:39:27: error: 'View' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:17:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
18 |             VStack(alignment: .leading, spacing: 16) {
19 |                 ForEach([0.3, 0.8, 0.55], id: \.self) { widthPercentage in
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:17:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
   |                        |- warning: conformance of 'ForEach<Data, ID, Content>' 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
18 |             VStack(alignment: .leading, spacing: 16) {
19 |                 ForEach([0.3, 0.8, 0.55], id: \.self) { widthPercentage in
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:18:13: error: 'VStack' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
18 |             VStack(alignment: .leading, spacing: 16) {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 ForEach([0.3, 0.8, 0.55], id: \.self) { widthPercentage in
20 |                     SkeletonLine(widthPercentage: widthPercentage,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:18:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
18 |             VStack(alignment: .leading, spacing: 16) {
   |             |- warning: conformance of 'ForEach<Data, ID, Content>' 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
19 |                 ForEach([0.3, 0.8, 0.55], id: \.self) { widthPercentage in
20 |                     SkeletonLine(widthPercentage: widthPercentage,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:18:32: error: 'leading' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
18 |             VStack(alignment: .leading, spacing: 16) {
   |                                |- error: 'leading' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
19 |                 ForEach([0.3, 0.8, 0.55], id: \.self) { widthPercentage in
20 |                     SkeletonLine(widthPercentage: widthPercentage,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:19:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
18 |             VStack(alignment: .leading, spacing: 16) {
19 |                 ForEach([0.3, 0.8, 0.55], id: \.self) { widthPercentage in
   |                 |- warning: conformance of 'ForEach<Data, ID, Content>' 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
20 |                     SkeletonLine(widthPercentage: widthPercentage,
21 |                                  height: self.skeletonHeight,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:19:17: error: 'ForEach' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
18 |             VStack(alignment: .leading, spacing: 16) {
19 |                 ForEach([0.3, 0.8, 0.55], id: \.self) { widthPercentage in
   |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
20 |                     SkeletonLine(widthPercentage: widthPercentage,
21 |                                  height: self.skeletonHeight,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:19:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
18 |             VStack(alignment: .leading, spacing: 16) {
19 |                 ForEach([0.3, 0.8, 0.55], id: \.self) { widthPercentage in
   |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
20 |                     SkeletonLine(widthPercentage: widthPercentage,
21 |                                  height: self.skeletonHeight,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:18:54: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
18 |             VStack(alignment: .leading, spacing: 16) {
   |                                                      |- warning: conformance of 'ForEach<Data, ID, Content>' 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
19 |                 ForEach([0.3, 0.8, 0.55], id: \.self) { widthPercentage in
20 |                     SkeletonLine(widthPercentage: widthPercentage,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:26:14: error: 'padding' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct SkeletonScreen: View {
   |               `- note: add @available attribute to enclosing struct
 7 |
 8 |     var skeletonColor: Color
   :
14 |     }
15 |
16 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
17 |         GeometryReader { geometry in
18 |             VStack(alignment: .leading, spacing: 16) {
   :
24 |                 }
25 |             }
26 |             .padding()
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
27 |         }
28 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:40:9: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
   |         |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
41 |             .fill(color)
42 |             .frame(width: geometry.size.width * widthPercentage,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:41:14: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   |              |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
42 |             .frame(width: geometry.size.width * widthPercentage,
43 |                    height: height)
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:42:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
42 |             .frame(width: geometry.size.width * widthPercentage,
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
43 |                    height: height)
44 |             .mask(
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:44:14: error: 'mask' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
42 |             .frame(width: geometry.size.width * widthPercentage,
43 |                    height: height)
44 |             .mask(
   |              |- error: 'mask' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
45 |                 LinearGradient(gradient: Gradient(colors:
46 |                     [Color.black.opacity(0.2),
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:45:17: error: 'LinearGradient' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
43 |                    height: height)
44 |             .mask(
45 |                 LinearGradient(gradient: Gradient(colors:
   |                 |- error: 'LinearGradient' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
46 |                     [Color.black.opacity(0.2),
47 |                      Color.black,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:45:42: error: 'Gradient' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
43 |                    height: height)
44 |             .mask(
45 |                 LinearGradient(gradient: Gradient(colors:
   |                                          |- error: 'Gradient' is only available in macOS 10.15 or newer
   |                                          `- note: add 'if #available' version check
46 |                     [Color.black.opacity(0.2),
47 |                      Color.black,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:46:22: error: 'Color' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
44 |             .mask(
45 |                 LinearGradient(gradient: Gradient(colors:
46 |                     [Color.black.opacity(0.2),
   |                      |- error: 'Color' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
47 |                      Color.black,
48 |                      Color.black.opacity(0.2)]),
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:46:28: error: 'black' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
44 |             .mask(
45 |                 LinearGradient(gradient: Gradient(colors:
46 |                     [Color.black.opacity(0.2),
   |                            |- error: 'black' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
47 |                      Color.black,
48 |                      Color.black.opacity(0.2)]),
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:46:34: error: 'opacity' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
44 |             .mask(
45 |                 LinearGradient(gradient: Gradient(colors:
46 |                     [Color.black.opacity(0.2),
   |                                  |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
47 |                      Color.black,
48 |                      Color.black.opacity(0.2)]),
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:47:22: error: 'Color' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
45 |                 LinearGradient(gradient: Gradient(colors:
46 |                     [Color.black.opacity(0.2),
47 |                      Color.black,
   |                      |- error: 'Color' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
48 |                      Color.black.opacity(0.2)]),
49 |                               startPoint: .leading,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:47:28: error: 'black' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
45 |                 LinearGradient(gradient: Gradient(colors:
46 |                     [Color.black.opacity(0.2),
47 |                      Color.black,
   |                            |- error: 'black' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
48 |                      Color.black.opacity(0.2)]),
49 |                               startPoint: .leading,
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:48:22: error: 'Color' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
46 |                     [Color.black.opacity(0.2),
47 |                      Color.black,
48 |                      Color.black.opacity(0.2)]),
   |                      |- error: 'Color' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
49 |                               startPoint: .leading,
50 |                               endPoint: .trailing)
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:48:28: error: 'black' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
46 |                     [Color.black.opacity(0.2),
47 |                      Color.black,
48 |                      Color.black.opacity(0.2)]),
   |                            |- error: 'black' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
49 |                               startPoint: .leading,
50 |                               endPoint: .trailing)
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:48:34: error: 'opacity' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
46 |                     [Color.black.opacity(0.2),
47 |                      Color.black,
48 |                      Color.black.opacity(0.2)]),
   |                                  |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
49 |                               startPoint: .leading,
50 |                               endPoint: .trailing)
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:51:22: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
49 |                               startPoint: .leading,
50 |                               endPoint: .trailing)
51 |                     .offset(x: isAnimating ?
   |                      |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
52 |                               geometry.size.width * widthPercentage :
53 |                              -(geometry.size.width * widthPercentage))
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:55:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
53 |                              -(geometry.size.width * widthPercentage))
54 |             )
55 |             .onAppear {
   |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
56 |                 withAnimation(Animation.linear(duration: 1.5).repeatForever(autoreverses: true)) {
57 |                     isAnimating = true
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:56:17: error: 'withAnimation' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
54 |             )
55 |             .onAppear {
56 |                 withAnimation(Animation.linear(duration: 1.5).repeatForever(autoreverses: true)) {
   |                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
57 |                     isAnimating = true
58 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:56:31: error: 'Animation' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
54 |             )
55 |             .onAppear {
56 |                 withAnimation(Animation.linear(duration: 1.5).repeatForever(autoreverses: true)) {
   |                               |- error: 'Animation' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
57 |                     isAnimating = true
58 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:56:41: error: 'linear(duration:)' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
54 |             )
55 |             .onAppear {
56 |                 withAnimation(Animation.linear(duration: 1.5).repeatForever(autoreverses: true)) {
   |                                         |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
57 |                     isAnimating = true
58 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:56:63: error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
54 |             )
55 |             .onAppear {
56 |                 withAnimation(Animation.linear(duration: 1.5).repeatForever(autoreverses: true)) {
   |                                                               |- error: 'repeatForever(autoreverses:)' is only available in macOS 10.15 or newer
   |                                                               `- note: add 'if #available' version check
57 |                     isAnimating = true
58 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SkeletonScreen/SkeletonScreen.swift:57:21: error: setter for 'isAnimating' is only available in macOS 10.15 or newer
29 | }
30 |
31 | public struct SkeletonLine: View {
   |               `- note: add @available attribute to enclosing struct
32 |     var widthPercentage: CGFloat
33 |     var height: CGFloat
   :
37 |     @State private var isAnimating: Bool = false
38 |
39 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
40 |         RoundedRectangle(cornerRadius: 4)
41 |             .fill(color)
   :
55 |             .onAppear {
56 |                 withAnimation(Animation.linear(duration: 1.5).repeatForever(autoreverses: true)) {
57 |                     isAnimating = true
   |                     |- error: setter for 'isAnimating' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
58 |                 }
59 |             }
BUILD FAILURE 6.2 macosSpm