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 FABUI, reference main (513b0d), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 04:22:40 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fatihdurmaz/FABUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fatihdurmaz/FABUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 513b0d1 example files added
Cloned https://github.com/fatihdurmaz/FABUI.git
Revision (git rev-parse @):
513b0d1ae64faf66166dd924dadc3b4ed0aebd5c
SUCCESS checkout https://github.com/fatihdurmaz/FABUI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fatihdurmaz/FABUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
[3/6] Compiling FABUI View+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:12:15: error: 'Image' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
   |               `- error: 'Image' is only available in macOS 10.15 or newer
13 |         iconColor: Color? = .white,
14 |         color: Color,
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:13:20: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
13 |         iconColor: Color? = .white,
   |                    `- error: 'Color' is only available in macOS 10.15 or newer
14 |         color: Color,
15 |         shapeStyle: ShapeStyle? = .circle,
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:14:16: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
13 |         iconColor: Color? = .white,
14 |         color: Color,
   |                `- error: 'Color' is only available in macOS 10.15 or newer
15 |         shapeStyle: ShapeStyle? = .circle,
16 |         radius: CGFloat? = 1,
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:17:48: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
13 |         iconColor: Color? = .white,
   :
15 |         shapeStyle: ShapeStyle? = .circle,
16 |         radius: CGFloat? = 1,
17 |         action: @escaping () -> Void ) -> some View {
   |                                                `- error: 'View' is only available in macOS 10.15 or newer
18 |             self.modifier(FABModifier(icon: icon, color: color, iconColor: iconColor, shapeStyle: shapeStyle, radius: radius, action: action))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:13:30: error: 'white' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
13 |         iconColor: Color? = .white,
   |                              `- error: 'white' is only available in macOS 10.15 or newer
14 |         color: Color,
15 |         shapeStyle: ShapeStyle? = .circle,
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
12 |         icon: Image,
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:18:18: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
13 |         iconColor: Color? = .white,
   :
16 |         radius: CGFloat? = 1,
17 |         action: @escaping () -> Void ) -> some View {
18 |             self.modifier(FABModifier(icon: icon, color: color, iconColor: iconColor, shapeStyle: shapeStyle, radius: radius, action: action))
   |                  |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                  `- note: add 'if #available' version check
19 |         }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:18:18: error: 'modifier' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
13 |         iconColor: Color? = .white,
   :
16 |         radius: CGFloat? = 1,
17 |         action: @escaping () -> Void ) -> some View {
18 |             self.modifier(FABModifier(icon: icon, color: color, iconColor: iconColor, shapeStyle: shapeStyle, radius: radius, action: action))
   |                  |- error: 'modifier' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
19 |         }
20 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling FABUI ShapeStyle.swift
[5/6] Emitting module FABUI
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:7:15: error: 'Image' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
   |               `- error: 'Image' is only available in macOS 10.15 or newer
 8 |     let color: Color
 9 |     let iconColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:8:16: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
 9 |     let iconColor: Color?
10 |     let shapeStyle: ShapeStyle?
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:9:20: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
 9 |     let iconColor: Color?
   |                    `- error: 'Color' is only available in macOS 10.15 or newer
10 |     let shapeStyle: ShapeStyle?
11 |     let radius: CGFloat?
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:16:16: error: 'Image' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
14 |     let action: () -> Void
15 |
16 |     init(icon: Image, color: Color, iconColor: Color? = .white, shapeStyle: ShapeStyle? = .circle, radius: CGFloat? = 1, action: @escaping () -> Void) {
   |     |          `- error: 'Image' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.icon = icon
18 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:16:30: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
14 |     let action: () -> Void
15 |
16 |     init(icon: Image, color: Color, iconColor: Color? = .white, shapeStyle: ShapeStyle? = .circle, radius: CGFloat? = 1, action: @escaping () -> Void) {
   |     |                        `- error: 'Color' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.icon = icon
18 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:16:48: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
14 |     let action: () -> Void
15 |
16 |     init(icon: Image, color: Color, iconColor: Color? = .white, shapeStyle: ShapeStyle? = .circle, radius: CGFloat? = 1, action: @escaping () -> Void) {
   |     |                                          `- error: 'Color' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.icon = icon
18 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:16:58: error: 'white' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
14 |     let action: () -> Void
15 |
16 |     init(icon: Image, color: Color, iconColor: Color? = .white, shapeStyle: ShapeStyle? = .circle, radius: CGFloat? = 1, action: @escaping () -> Void) {
   |     |                                                    `- error: 'white' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.icon = icon
18 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:25:48: error: 'View' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
27 |             content
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:39:35: error: 'View' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
37 |     }
38 |
39 |     private func button() -> some View {
   |                  |                `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
40 |         icon
41 |             .imageScale(.large)
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:50:34: error: 'AnyShape' is only available in macOS 13.0 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
48 |     }
49 |
50 |     private var backgroundShape: AnyShape {
   |                 |                `- error: 'AnyShape' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing property
51 |         switch shapeStyle {
52 |         case .circle:
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:12:15: error: 'Image' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
   |               `- error: 'Image' is only available in macOS 10.15 or newer
13 |         iconColor: Color? = .white,
14 |         color: Color,
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:13:20: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
13 |         iconColor: Color? = .white,
   |                    `- error: 'Color' is only available in macOS 10.15 or newer
14 |         color: Color,
15 |         shapeStyle: ShapeStyle? = .circle,
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:14:16: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
13 |         iconColor: Color? = .white,
14 |         color: Color,
   |                `- error: 'Color' is only available in macOS 10.15 or newer
15 |         shapeStyle: ShapeStyle? = .circle,
16 |         radius: CGFloat? = 1,
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:17:48: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
13 |         iconColor: Color? = .white,
   :
15 |         shapeStyle: ShapeStyle? = .circle,
16 |         radius: CGFloat? = 1,
17 |         action: @escaping () -> Void ) -> some View {
   |                                                `- error: 'View' is only available in macOS 10.15 or newer
18 |             self.modifier(FABModifier(icon: icon, color: color, iconColor: iconColor, shapeStyle: shapeStyle, radius: radius, action: action))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:13:30: error: 'white' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
   |          `- note: add @available attribute to enclosing instance method
12 |         icon: Image,
13 |         iconColor: Color? = .white,
   |                              `- error: 'white' is only available in macOS 10.15 or newer
14 |         color: Color,
15 |         shapeStyle: ShapeStyle? = .circle,
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/View+Extension.swift:10:18: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
11 |     func fab(
12 |         icon: Image,
[6/6] Compiling FABUI FABModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:7:15: error: 'Image' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
   |               `- error: 'Image' is only available in macOS 10.15 or newer
 8 |     let color: Color
 9 |     let iconColor: Color?
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:8:16: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
 9 |     let iconColor: Color?
10 |     let shapeStyle: ShapeStyle?
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:9:20: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
 9 |     let iconColor: Color?
   |                    `- error: 'Color' is only available in macOS 10.15 or newer
10 |     let shapeStyle: ShapeStyle?
11 |     let radius: CGFloat?
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:16:16: error: 'Image' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
14 |     let action: () -> Void
15 |
16 |     init(icon: Image, color: Color, iconColor: Color? = .white, shapeStyle: ShapeStyle? = .circle, radius: CGFloat? = 1, action: @escaping () -> Void) {
   |     |          `- error: 'Image' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.icon = icon
18 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:16:30: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
14 |     let action: () -> Void
15 |
16 |     init(icon: Image, color: Color, iconColor: Color? = .white, shapeStyle: ShapeStyle? = .circle, radius: CGFloat? = 1, action: @escaping () -> Void) {
   |     |                        `- error: 'Color' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.icon = icon
18 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:16:48: error: 'Color' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
14 |     let action: () -> Void
15 |
16 |     init(icon: Image, color: Color, iconColor: Color? = .white, shapeStyle: ShapeStyle? = .circle, radius: CGFloat? = 1, action: @escaping () -> Void) {
   |     |                                          `- error: 'Color' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.icon = icon
18 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:16:58: error: 'white' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
14 |     let action: () -> Void
15 |
16 |     init(icon: Image, color: Color, iconColor: Color? = .white, shapeStyle: ShapeStyle? = .circle, radius: CGFloat? = 1, action: @escaping () -> Void) {
   |     |                                                    `- error: 'white' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.icon = icon
18 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:25:48: error: 'View' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
27 |             content
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:39:35: error: 'View' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
37 |     }
38 |
39 |     private func button() -> some View {
   |                  |                `- error: 'View' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
40 |         icon
41 |             .imageScale(.large)
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:50:34: error: 'AnyShape' is only available in macOS 13.0 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
48 |     }
49 |
50 |     private var backgroundShape: AnyShape {
   |                 |                `- error: 'AnyShape' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing property
51 |         switch shapeStyle {
52 |         case .circle:
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:26:9: error: 'ZStack' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
27 |             content
28 |             VStack {
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:28:13: error: 'VStack' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
27 |             content
28 |             VStack {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
29 |                 Spacer()
30 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:29:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
27 |             content
28 |             VStack {
29 |                 Spacer()
   |                 |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
30 |                 HStack {
31 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:29:17: error: 'Spacer' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
27 |             content
28 |             VStack {
29 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
30 |                 HStack {
31 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:30:17: error: 'HStack' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
27 |             content
28 |             VStack {
29 |                 Spacer()
30 |                 HStack {
   |                 |- error: 'HStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
31 |                     Spacer()
32 |                     button()
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:31:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
27 |             content
   :
29 |                 Spacer()
30 |                 HStack {
31 |                     Spacer()
   |                     |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                     `- note: add 'if #available' version check
32 |                     button()
33 |                         .offset(x: -margin, y: -margin)
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:31:21: error: 'Spacer' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
27 |             content
   :
29 |                 Spacer()
30 |                 HStack {
31 |                     Spacer()
   |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
32 |                     button()
33 |                         .offset(x: -margin, y: -margin)
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:33:26: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
27 |             content
   :
31 |                     Spacer()
32 |                     button()
33 |                         .offset(x: -margin, y: -margin)
   |                          |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
34 |                 }
35 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:30:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
27 |             content
28 |             VStack {
29 |                 Spacer()
30 |                 HStack {
   |                        |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                        `- note: add 'if #available' version check
31 |                     Spacer()
32 |                     button()
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:28:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
23 |     }
24 |
25 |     public func body(content: Content) -> some View {
   |                 `- note: add @available attribute to enclosing instance method
26 |         ZStack {
27 |             content
28 |             VStack {
   |                    |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
29 |                 Spacer()
30 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:41:14: error: 'imageScale' is only available in macOS 11.0 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
37 |     }
38 |
39 |     private func button() -> some View {
   |                  `- note: add @available attribute to enclosing instance method
40 |         icon
41 |             .imageScale(.large)
   |              |- error: 'imageScale' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
42 |             .bold()
43 |             .foregroundColor(iconColor)
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:42:14: error: 'bold' is only available in macOS 13.0 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
37 |     }
38 |
39 |     private func button() -> some View {
   |                  `- note: add @available attribute to enclosing instance method
40 |         icon
41 |             .imageScale(.large)
42 |             .bold()
   |              |- error: 'bold' is only available in macOS 13.0 or newer
   |              `- note: add 'if #available' version check
43 |             .foregroundColor(iconColor)
44 |             .frame(width: size, height: size)
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:43:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
37 |     }
38 |
39 |     private func button() -> some View {
   |                  `- note: add @available attribute to enclosing instance method
40 |         icon
41 |             .imageScale(.large)
42 |             .bold()
43 |             .foregroundColor(iconColor)
   |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
44 |             .frame(width: size, height: size)
45 |             .background(backgroundShape.fill(color))
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:44:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
37 |     }
38 |
39 |     private func button() -> some View {
   |                  `- note: add @available attribute to enclosing instance method
40 |         icon
41 |             .imageScale(.large)
42 |             .bold()
43 |             .foregroundColor(iconColor)
44 |             .frame(width: size, height: size)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
45 |             .background(backgroundShape.fill(color))
46 |             .shadow(radius: radius!)
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:45:14: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
37 |     }
38 |
39 |     private func button() -> some View {
   |                  `- note: add @available attribute to enclosing instance method
40 |         icon
41 |             .imageScale(.large)
   :
43 |             .foregroundColor(iconColor)
44 |             .frame(width: size, height: size)
45 |             .background(backgroundShape.fill(color))
   |              |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
46 |             .shadow(radius: radius!)
47 |             .onTapGesture(perform: action)
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:45:41: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
37 |     }
38 |
39 |     private func button() -> some View {
   |                  `- note: add @available attribute to enclosing instance method
40 |         icon
41 |             .imageScale(.large)
   :
43 |             .foregroundColor(iconColor)
44 |             .frame(width: size, height: size)
45 |             .background(backgroundShape.fill(color))
   |                                         |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                                         `- note: add 'if #available' version check
46 |             .shadow(radius: radius!)
47 |             .onTapGesture(perform: action)
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:46:14: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
37 |     }
38 |
39 |     private func button() -> some View {
   |                  `- note: add @available attribute to enclosing instance method
40 |         icon
41 |             .imageScale(.large)
   :
44 |             .frame(width: size, height: size)
45 |             .background(backgroundShape.fill(color))
46 |             .shadow(radius: radius!)
   |              |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
47 |             .onTapGesture(perform: action)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:47:14: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
37 |     }
38 |
39 |     private func button() -> some View {
   |                  `- note: add @available attribute to enclosing instance method
40 |         icon
41 |             .imageScale(.large)
   :
45 |             .background(backgroundShape.fill(color))
46 |             .shadow(radius: radius!)
47 |             .onTapGesture(perform: action)
   |              |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |     }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:53:20: error: 'AnyShape' is only available in macOS 13.0 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
48 |     }
49 |
50 |     private var backgroundShape: AnyShape {
   |                 `- note: add @available attribute to enclosing property
51 |         switch shapeStyle {
52 |         case .circle:
53 |             return AnyShape(Circle())
   |                    |- error: 'AnyShape' is only available in macOS 13.0 or newer
   |                    `- note: add 'if #available' version check
54 |         case .roundedRectangle(let cornerRadius):
55 |             return AnyShape(RoundedRectangle(cornerRadius: cornerRadius))
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:53:29: error: 'Circle' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
48 |     }
49 |
50 |     private var backgroundShape: AnyShape {
   |                 `- note: add @available attribute to enclosing property
51 |         switch shapeStyle {
52 |         case .circle:
53 |             return AnyShape(Circle())
   |                             |- error: 'Circle' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
54 |         case .roundedRectangle(let cornerRadius):
55 |             return AnyShape(RoundedRectangle(cornerRadius: cornerRadius))
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:55:20: error: 'AnyShape' is only available in macOS 13.0 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
48 |     }
49 |
50 |     private var backgroundShape: AnyShape {
   |                 `- note: add @available attribute to enclosing property
51 |         switch shapeStyle {
52 |         case .circle:
53 |             return AnyShape(Circle())
54 |         case .roundedRectangle(let cornerRadius):
55 |             return AnyShape(RoundedRectangle(cornerRadius: cornerRadius))
   |                    |- error: 'AnyShape' is only available in macOS 13.0 or newer
   |                    `- note: add 'if #available' version check
56 |         case .none:
57 |             return AnyShape(Circle())
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:55:29: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
48 |     }
49 |
50 |     private var backgroundShape: AnyShape {
   |                 `- note: add @available attribute to enclosing property
51 |         switch shapeStyle {
52 |         case .circle:
53 |             return AnyShape(Circle())
54 |         case .roundedRectangle(let cornerRadius):
55 |             return AnyShape(RoundedRectangle(cornerRadius: cornerRadius))
   |                             |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
56 |         case .none:
57 |             return AnyShape(Circle())
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:57:20: error: 'AnyShape' is only available in macOS 13.0 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
48 |     }
49 |
50 |     private var backgroundShape: AnyShape {
   |                 `- note: add @available attribute to enclosing property
51 |         switch shapeStyle {
52 |         case .circle:
   :
55 |             return AnyShape(RoundedRectangle(cornerRadius: cornerRadius))
56 |         case .none:
57 |             return AnyShape(Circle())
   |                    |- error: 'AnyShape' is only available in macOS 13.0 or newer
   |                    `- note: add 'if #available' version check
58 |         }
59 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FABUI/FABModifier.swift:57:29: error: 'Circle' is only available in macOS 10.15 or newer
 4 | import SwiftUI
 5 |
 6 | public struct FABModifier: ViewModifier {
   |               `- note: add @available attribute to enclosing struct
 7 |     let icon: Image
 8 |     let color: Color
   :
48 |     }
49 |
50 |     private var backgroundShape: AnyShape {
   |                 `- note: add @available attribute to enclosing property
51 |         switch shapeStyle {
52 |         case .circle:
   :
55 |             return AnyShape(RoundedRectangle(cornerRadius: cornerRadius))
56 |         case .none:
57 |             return AnyShape(Circle())
   |                             |- error: 'Circle' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
58 |         }
59 |     }
BUILD FAILURE 6.0 macosSpm