Build Information
Failed to build StarRateView, reference 1.0.0 (396356), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 17:28:18 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giiiita/StarRateView.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/giiiita/StarRateView
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 396356c Initial commit
Cloned https://github.com/giiiita/StarRateView.git
Revision (git rev-parse @):
396356c22dc3539b5ff28313696f8bfd6947e266
SUCCESS checkout https://github.com/giiiita/StarRateView.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "starrateview",
"name": "StarRateView",
"url": "https://github.com/giiiita/StarRateView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/StarRateView",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/giiiita/StarRateView.git
[1/35] Fetching starrateview
Fetched https://github.com/giiiita/StarRateView.git from cache (1.06s)
Creating working copy for https://github.com/giiiita/StarRateView.git
Working copy of https://github.com/giiiita/StarRateView.git resolved at 1.0.0 (396356c)
warning: '.resolve-product-dependencies': dependency 'starrateview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/giiiita/StarRateView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module StarRateView
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/Star.swift:14:35: error: 'Path' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | struct Star: Shape {
| `- note: add '@available' attribute to enclosing struct
12 | let corners: Int
13 | let smoothness: CGFloat
14 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
15 | guard corners >= 2 else { return Path() }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:17:38: error: 'Color' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
15 | private var starSize: CGFloat = 20
16 | private var starPadding: CGFloat = 8.0
17 | private var backgroundStarColor: Color = .white
| `- error: 'Color' is only available in macOS 10.15 or newer
18 | private var forgroundStarColor: Color = .yellow
19 | private var corners: Int = 5
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:17:47: error: 'white' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
15 | private var starSize: CGFloat = 20
16 | private var starPadding: CGFloat = 8.0
17 | private var backgroundStarColor: Color = .white
| `- error: 'white' is only available in macOS 10.15 or newer
18 | private var forgroundStarColor: Color = .yellow
19 | private var corners: Int = 5
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:18:37: error: 'Color' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
16 | private var starPadding: CGFloat = 8.0
17 | private var backgroundStarColor: Color = .white
18 | private var forgroundStarColor: Color = .yellow
| `- error: 'Color' is only available in macOS 10.15 or newer
19 | private var corners: Int = 5
20 | private var smoothness: CGFloat = 0.45
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:18:46: error: 'yellow' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
16 | private var starPadding: CGFloat = 8.0
17 | private var backgroundStarColor: Color = .white
18 | private var forgroundStarColor: Color = .yellow
| `- error: 'yellow' is only available in macOS 10.15 or newer
19 | private var corners: Int = 5
20 | private var smoothness: CGFloat = 0.45
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:36:27: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:61:58: error: 'Color' is only available in macOS 10.15 or newer
52 |
53 | @available(iOS 13.0, *)
54 | extension StarRateView: Buildable {
| `- note: add '@available' attribute to enclosing extension
55 | public func starSize(_ starSize: CGFloat) -> Self {
56 | mutating(keyPath: \.starSize, value: starSize)
:
59 | mutating(keyPath: \.starPadding, value: starPadding)
60 | }
61 | public func forgroundStarColor(_ forgroundStarColor: Color) -> Self {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
62 | mutating(keyPath: \.forgroundStarColor, value: forgroundStarColor)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:64:60: error: 'Color' is only available in macOS 10.15 or newer
52 |
53 | @available(iOS 13.0, *)
54 | extension StarRateView: Buildable {
| `- note: add '@available' attribute to enclosing extension
55 | public func starSize(_ starSize: CGFloat) -> Self {
56 | mutating(keyPath: \.starSize, value: starSize)
:
62 | mutating(keyPath: \.forgroundStarColor, value: forgroundStarColor)
63 | }
64 | public func backgroundStarColor(_ backgroundStarColor: Color) -> Self {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
65 | mutating(keyPath: \.backgroundStarColor, value: backgroundStarColor)
66 | }
[4/6] Compiling StarRateView Buildable.swift
[5/6] Compiling StarRateView StarRateView.swift
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:17:38: error: 'Color' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
15 | private var starSize: CGFloat = 20
16 | private var starPadding: CGFloat = 8.0
17 | private var backgroundStarColor: Color = .white
| `- error: 'Color' is only available in macOS 10.15 or newer
18 | private var forgroundStarColor: Color = .yellow
19 | private var corners: Int = 5
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:17:47: error: 'white' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
15 | private var starSize: CGFloat = 20
16 | private var starPadding: CGFloat = 8.0
17 | private var backgroundStarColor: Color = .white
| `- error: 'white' is only available in macOS 10.15 or newer
18 | private var forgroundStarColor: Color = .yellow
19 | private var corners: Int = 5
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:18:37: error: 'Color' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
16 | private var starPadding: CGFloat = 8.0
17 | private var backgroundStarColor: Color = .white
18 | private var forgroundStarColor: Color = .yellow
| `- error: 'Color' is only available in macOS 10.15 or newer
19 | private var corners: Int = 5
20 | private var smoothness: CGFloat = 0.45
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:18:46: error: 'yellow' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
16 | private var starPadding: CGFloat = 8.0
17 | private var backgroundStarColor: Color = .white
18 | private var forgroundStarColor: Color = .yellow
| `- error: 'yellow' is only available in macOS 10.15 or newer
19 | private var corners: Int = 5
20 | private var smoothness: CGFloat = 0.45
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:36:27: error: 'View' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:61:58: error: 'Color' is only available in macOS 10.15 or newer
52 |
53 | @available(iOS 13.0, *)
54 | extension StarRateView: Buildable {
| `- note: add '@available' attribute to enclosing extension
55 | public func starSize(_ starSize: CGFloat) -> Self {
56 | mutating(keyPath: \.starSize, value: starSize)
:
59 | mutating(keyPath: \.starPadding, value: starPadding)
60 | }
61 | public func forgroundStarColor(_ forgroundStarColor: Color) -> Self {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
62 | mutating(keyPath: \.forgroundStarColor, value: forgroundStarColor)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:64:60: error: 'Color' is only available in macOS 10.15 or newer
52 |
53 | @available(iOS 13.0, *)
54 | extension StarRateView: Buildable {
| `- note: add '@available' attribute to enclosing extension
55 | public func starSize(_ starSize: CGFloat) -> Self {
56 | mutating(keyPath: \.starSize, value: starSize)
:
62 | mutating(keyPath: \.forgroundStarColor, value: forgroundStarColor)
63 | }
64 | public func backgroundStarColor(_ backgroundStarColor: Color) -> Self {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
65 | mutating(keyPath: \.backgroundStarColor, value: backgroundStarColor)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:37:9: 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
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
| |- 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
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:37:9: error: 'HStack' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:37:9: 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
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
| |- 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
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:37:28: error: 'center' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:37:63: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
| |- warning: conformance of 'Color' to 'ShapeStyle' 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
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:37:63: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
| |- warning: conformance of 'Color' to 'ShapeStyle' 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
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:38: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
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index 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
39 | ZStack(alignment: .center) {
40 | Star(corners: self.corners, smoothness: self.smoothness)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:38:13: error: 'ForEach' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | ZStack(alignment: .center) {
40 | Star(corners: self.corners, smoothness: self.smoothness)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:38:13: error: 'init(_:content:)' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | ZStack(alignment: .center) {
40 | Star(corners: self.corners, smoothness: self.smoothness)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:38:41: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
| |- warning: conformance of 'Color' to 'ShapeStyle' 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
39 | ZStack(alignment: .center) {
40 | Star(corners: self.corners, smoothness: self.smoothness)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:38:41: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
| |- warning: conformance of 'Color' to 'ShapeStyle' 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
39 | ZStack(alignment: .center) {
40 | Star(corners: self.corners, smoothness: self.smoothness)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:39:17: error: 'ZStack' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | Star(corners: self.corners, smoothness: self.smoothness)
41 | .fill(self.backgroundStarColor)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:39:36: error: 'center' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | Star(corners: self.corners, smoothness: self.smoothness)
41 | .fill(self.backgroundStarColor)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:39:44: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
| |- warning: conformance of 'Color' to 'ShapeStyle' 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
40 | Star(corners: self.corners, smoothness: self.smoothness)
41 | .fill(self.backgroundStarColor)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:39:44: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
| |- warning: conformance of 'Color' to 'ShapeStyle' 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
40 | Star(corners: self.corners, smoothness: self.smoothness)
41 | .fill(self.backgroundStarColor)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:41:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
40 | Star(corners: self.corners, smoothness: self.smoothness)
41 | .fill(self.backgroundStarColor)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
42 | .frame(width: self.starSize, height: self.starSize)
43 | Star(corners: self.corners, smoothness: self.smoothness)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:42:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
:
40 | Star(corners: self.corners, smoothness: self.smoothness)
41 | .fill(self.backgroundStarColor)
42 | .frame(width: self.starSize, height: self.starSize)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | Star(corners: self.corners, smoothness: self.smoothness)
44 | .fill(self.forgroundStarColor)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:44:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
:
42 | .frame(width: self.starSize, height: self.starSize)
43 | Star(corners: self.corners, smoothness: self.smoothness)
44 | .fill(self.forgroundStarColor)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
45 | .frame(width: self.starSize, height: self.starSize)
46 | .mask( Rectangle().padding(.trailing, self.calcStarSize(index: index)))
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:45:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
:
43 | Star(corners: self.corners, smoothness: self.smoothness)
44 | .fill(self.forgroundStarColor)
45 | .frame(width: self.starSize, height: self.starSize)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | .mask( Rectangle().padding(.trailing, self.calcStarSize(index: index)))
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:46:26: error: 'mask' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
:
44 | .fill(self.forgroundStarColor)
45 | .frame(width: self.starSize, height: self.starSize)
46 | .mask( Rectangle().padding(.trailing, self.calcStarSize(index: index)))
| |- error: 'mask' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:46:32: error: 'Rectangle' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
:
44 | .fill(self.forgroundStarColor)
45 | .frame(width: self.starSize, height: self.starSize)
46 | .mask( Rectangle().padding(.trailing, self.calcStarSize(index: index)))
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:46:44: error: 'padding' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
:
44 | .fill(self.forgroundStarColor)
45 | .frame(width: self.starSize, height: self.starSize)
46 | .mask( Rectangle().padding(.trailing, self.calcStarSize(index: index)))
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:37:63: 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
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
| |- 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
38 | ForEach(0..<self.starCount) { index in
39 | ZStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:38:30: warning: non-constant range: argument must be an integer literal
36 | public var body: some View {
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
| `- warning: non-constant range: argument must be an integer literal
39 | ZStack(alignment: .center) {
40 | Star(corners: self.corners, smoothness: self.smoothness)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:36:32: 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
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| | |- 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
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/StarRateView.swift:36:32: 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
9 |
10 | @available(iOS 13.0, *)
11 | public struct StarRateView: View {
| `- note: add '@available' attribute to enclosing struct
12 | let starCount: Int
13 | let rate: Double
:
34 | }
35 |
36 | public var body: some View {
| | |- 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
| `- note: add '@available' attribute to enclosing property
37 | HStack(alignment: .center, spacing: self.starPadding) {
38 | ForEach(0..<self.starCount) { index in
[6/6] Compiling StarRateView Star.swift
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/Star.swift:14:35: error: 'Path' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | struct Star: Shape {
| `- note: add '@available' attribute to enclosing struct
12 | let corners: Int
13 | let smoothness: CGFloat
14 | func path(in rect: CGRect) -> Path {
| | `- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
15 | guard corners >= 2 else { return Path() }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/Star.swift:15:42: error: 'Path' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | struct Star: Shape {
| `- note: add '@available' attribute to enclosing struct
12 | let corners: Int
13 | let smoothness: CGFloat
14 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
15 | guard corners >= 2 else { return Path() }
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 |
17 | let center = CGPoint(x: rect.width / 2, y: rect.height / 2)
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/Star.swift:23:20: error: 'Path' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | struct Star: Shape {
| `- note: add '@available' attribute to enclosing struct
12 | let corners: Int
13 | let smoothness: CGFloat
14 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
15 | guard corners >= 2 else { return Path() }
16 |
:
21 | let innerY = center.y * smoothness
22 |
23 | var path = Path()
| |- error: 'Path' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | path.move(to: CGPoint(x: center.x * cos(currentAngle), y: center.y * sin(currentAngle)))
25 | var bottomEdge: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/Star.swift:24:14: error: 'move(to:)' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | struct Star: Shape {
| `- note: add '@available' attribute to enclosing struct
12 | let corners: Int
13 | let smoothness: CGFloat
14 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
15 | guard corners >= 2 else { return Path() }
16 |
:
22 |
23 | var path = Path()
24 | path.move(to: CGPoint(x: center.x * cos(currentAngle), y: center.y * sin(currentAngle)))
| |- error: 'move(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | var bottomEdge: CGFloat = 0
26 | for corner in 0..<corners * 2 {
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/Star.swift:33:22: error: 'addLine(to:)' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | struct Star: Shape {
| `- note: add '@available' attribute to enclosing struct
12 | let corners: Int
13 | let smoothness: CGFloat
14 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
15 | guard corners >= 2 else { return Path() }
16 |
:
31 | if corner.isMultiple(of: 2) {
32 | bottom = center.y * sinAngle
33 | path.addLine(to: CGPoint(x: center.x * cosAngle, y: bottom))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | } else {
35 | bottom = innerY * sinAngle
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/Star.swift:36:22: error: 'addLine(to:)' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | struct Star: Shape {
| `- note: add '@available' attribute to enclosing struct
12 | let corners: Int
13 | let smoothness: CGFloat
14 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
15 | guard corners >= 2 else { return Path() }
16 |
:
34 | } else {
35 | bottom = innerY * sinAngle
36 | path.addLine(to: CGPoint(x: innerX * cosAngle, y: bottom))
| |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/StarRateView/Star.swift:49:21: error: 'applying' is only available in macOS 10.15 or newer
9 |
10 | @available(iOS 13.0, *)
11 | struct Star: Shape {
| `- note: add '@available' attribute to enclosing struct
12 | let corners: Int
13 | let smoothness: CGFloat
14 | func path(in rect: CGRect) -> Path {
| `- note: add '@available' attribute to enclosing instance method
15 | guard corners >= 2 else { return Path() }
16 |
:
47 |
48 | let transform = CGAffineTransform(translationX: center.x, y: center.y + unusedSpace)
49 | return path.applying(transform)
| |- error: 'applying' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 | }
BUILD FAILURE 6.3 macosSpm