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, reference 1.1.1 (e5bcab), with Swift 5.8 for macOS (SPM) on 11 Sep 2024 07:21:39 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnnewman/CircularSpinner.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnnewman/CircularSpinner
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at e5bcab5 Merge pull request #4 from hybridcattt/fix/animation
Cloned https://github.com/johnnewman/CircularSpinner.git
Revision (git rev-parse @):
e5bcab54d613efe0745bfb9dc532933017948ecf
SUCCESS checkout https://github.com/johnnewman/CircularSpinner.git at 1.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $PWD
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 resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:102:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
[3/7] Compiling CircularSpinner SpinnerStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:102:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Compiling CircularSpinner Length.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:102:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
[5/7] Emitting module CircularSpinner
/Users/admin/builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:102:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
[6/7] Compiling CircularSpinner CircularSpinner.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:102:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
/Users/admin/builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:78:54: error: extra argument 'duration' in call
        withAnimation(.interpolatingSpring(duration: animationDuration)) {
                                          ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:78:43: error: missing arguments for parameters 'stiffness', 'damping' in call
        withAnimation(.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/admin/builder/spi-builder-workspace/Sources/CircularSpinner/CircularSpinner.swift:102:1: error: use of unknown directive '#Preview'
#Preview("Diameter") {
^
BUILD FAILURE 5.8 macosSpm