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 SkeletonScreen, reference v0.0.1 (46cee8), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 00:27:23 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huabin/SkeletonScreen.git
Reference: v0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/huabin/SkeletonScreen
 * tag               v0.0.1     -> FETCH_HEAD
HEAD is now at 46cee8d initial
Cloned https://github.com/huabin/SkeletonScreen.git
Revision (git rev-parse @):
46cee8dbe81aef899f564dbed3732ec412eee6f3
SUCCESS checkout https://github.com/huabin/SkeletonScreen.git at v0.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "skeletonscreen",
      "name": "SkeletonScreen",
      "url": "https://github.com/huabin/SkeletonScreen.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SkeletonScreen",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/huabin/SkeletonScreen.git
[1/16] Fetching skeletonscreen
Fetched https://github.com/huabin/SkeletonScreen.git from cache (0.67s)
Creating working copy for https://github.com/huabin/SkeletonScreen.git
Working copy of https://github.com/huabin/SkeletonScreen.git resolved at v0.0.1 (46cee8d)
warning: '.resolve-product-dependencies': dependency 'skeletonscreen' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/huabin/SkeletonScreen.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
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.0 macosSpm