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 CircularSpinner with Swift 5.8 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnnewman/CircularSpinner.git
Reference: 1.1.0
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/johnnewman/CircularSpinner
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at e40b85c Merge pull request #2 from johnnewman/jn-privacy_manifest
Cloned https://github.com/johnnewman/CircularSpinner.git
Revision (git rev-parse @):
e40b85c5e12a66b326c9cba832bde646b5cf5ae9
SUCCESS checkout https://github.com/johnnewman/CircularSpinner.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/johnnewman/CircularSpinner.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
[2/7] Compiling CircularSpinner Length.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
[3/7] Compiling CircularSpinner SpinnerStyle.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
[4/7] Compiling CircularSpinner resource_bundle_accessor.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module CircularSpinner
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
[6/7] Compiling CircularSpinner CircularSpinner.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:53:61: error: extra argument 'duration' in call
        self.spinAnimation = .interpolatingSpring(duration: animationDuration)
                                                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:53:50: error: missing arguments for parameters 'stiffness', 'damping' in call
        self.spinAnimation = .interpolatingSpring(duration: animationDuration)
                                                 ^
SwiftUI.Animation:3:24: note: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' declared here
    public static func interpolatingSpring(mass: Double = 1.0, stiffness: Double, damping: Double, initialVelocity: Double = 0.0) -> Animation
                       ^
[7/7] Compiling CircularSpinner SwiftUIExtensions.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
[0/1] Planning build
Building for debugging...
[1/6] Compiling CircularSpinner resource_bundle_accessor.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
[2/6] Compiling CircularSpinner SwiftUIExtensions.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
[3/6] Compiling CircularSpinner SpinnerStyle.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module CircularSpinner
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
[5/6] Compiling CircularSpinner CircularSpinner.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:53:61: error: extra argument 'duration' in call
        self.spinAnimation = .interpolatingSpring(duration: animationDuration)
                                                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:53:50: error: missing arguments for parameters 'stiffness', 'damping' in call
        self.spinAnimation = .interpolatingSpring(duration: animationDuration)
                                                 ^
SwiftUI.Animation:3:24: note: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' declared here
    public static func interpolatingSpring(mass: Double = 1.0, stiffness: Double, damping: Double, initialVelocity: Double = 0.0) -> Animation
                       ^
[6/6] Compiling CircularSpinner Length.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:101:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
BUILD FAILURE 5.8 macosSpm