The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SoundPulseButton, reference 0.2.0 (f994bb), with Swift 6.2 (beta) for macOS (SPM) on 8 Aug 2025 22:57:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mikhailkogan17/SoundPulseButton.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mikhailkogan17/SoundPulseButton
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at f994bb0 Fixed crash of level calculation in AudioLevelRepository
Cloned https://github.com/mikhailkogan17/SoundPulseButton.git
Revision (git rev-parse @):
f994bb0a833b6209a990b7e66120bbb569402da5
SUCCESS checkout https://github.com/mikhailkogan17/SoundPulseButton.git at 0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mikhailkogan17/SoundPulseButton.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-1EA4D86E10B52AF.txt
[7/32] Compiling SpringInterpolation SpringInterpolation.swift
[8/32] Compiling SpringInterpolation SpringInterpolation2D.swift
[9/32] Emitting module ColorVector
[10/32] Compiling ColorVector ColorConversion+LCH_LAB.swift
[11/32] Compiling ColorVector ColorConversion+RGB_XYZ.swift
[12/32] Compiling ColorVector ColorConversion+LAB_LCH.swift
[13/32] Compiling ColorVector ColorConversion+LAB_XYZ.swift
[14/33] Compiling ColorVector ColorVector+RGB.swift
[15/33] Compiling ColorVector ColorVector+XYZ.swift
[16/33] Compiling ColorVector ColorVector+LAB.swift
[17/33] Compiling SpringInterpolation SpringInterpolation+Context.swift
[18/33] Compiling SpringInterpolation SpringInterpolation+Configuration.swift
[19/33] Emitting module SpringInterpolation
[20/33] Compiling ColorVector ColorVector+LCH.swift
[21/33] Compiling SpringInterpolation SpringInterpolation+Parameters.swift
[22/33] Compiling ColorVector ColorConversion+XYZ_LAB.swift
[23/33] Compiling ColorVector ColorConversion+XYZ_RGB.swift
[24/33] Compiling ColorVector ColorConversion.swift
[25/33] Compiling ColorVector ColorVector.swift
[26/33] Compiling MSDisplayLink DisplayLinkDriver.swift
[27/33] Compiling MSDisplayLink DisplayLinkDriver+Helper.swift
[28/33] Compiling MSDisplayLink DisplayLink.swift
[29/33] Compiling MSDisplayLink DisplayLinkDriver+CA.swift
[30/33] Compiling MSDisplayLink DisplayLinkCallbackContext.swift
[31/33] Compiling MSDisplayLink DisplayLinkDriver+CV.swift
[32/33] Emitting module MSDisplayLink
[33/33] Compiling MSDisplayLink DisplayLink+SwiftUI.swift
[34/52] Compiling ColorfulX MetalProgram.swift
[35/52] Compiling ColorfulX MetalView+AppKit.swift
[36/54] Compiling ColorfulX MulticolorGradientView+Lerpable.swift
[37/54] Compiling ColorfulX MulticolorGradientView+Parameters.swift
[38/54] Compiling ColorfulX MulticolorGradientView+SwiftUI.swift
[39/54] Compiling ColorfulX MulticolorGradientView.swift
[40/54] Compiling ColorfulX MetalView+UIKit.swift
[41/54] Compiling ColorfulX MetalView.swift
[42/54] Compiling ColorfulX Lerpable.swift
[43/54] Compiling ColorfulX MetalLink.swift
[44/54] Compiling ColorfulX Color.swift
[45/54] Compiling ColorfulX ColorfulColors.swift
[46/54] Compiling ColorfulX AnimatedMulticolorGradientView+Update.swift
[47/54] Compiling ColorfulX AnimatedMulticolorGradientView.swift
[48/54] Compiling ColorfulX AnimatedMulticolorGradientView+Speckle.swift
[49/54] Compiling ColorfulX AnimatedMulticolorGradientView+SwiftUI.swift
[50/54] Emitting module ColorfulX
[51/54] Compiling ColorfulX ColorfulPreset.swift
[52/54] Compiling ColorfulX ColorfulView.swift
[53/54] Compiling ColorfulX PlatformCheck.swift
[54/54] Compiling ColorfulX Uniforms.swift
[55/64] Compiling SoundPulseButton SoundPulseButtonInnerCirclesView.swift
[56/64] Compiling SoundPulseButton SoundPulseButtonIconView.swift
[57/65] Compiling SoundPulseButton SoundPulseButtonLoaderView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundPulseButtonLoaderView.swift:37:18: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
 9 |
10 | /// Loading indicator view for SoundPulseButton
11 | struct SoundPulseButtonLoaderView: View {
   |        `- note: add @available attribute to enclosing struct
12 |     let rotation: Double
13 |     let progress: CGFloat?
   :
16 |     private var trimTo: CGFloat = 0
17 |
18 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
19 |         let radius = configuration.layout.baseRadius +
20 |             configuration.effects.loader.padding +
   :
35 |                     trimTo = progress ?? configuration.effects.loader.trimTo
36 |                 }
37 |                 .onChange(of: progress) { oldProgress, newProgress in
   |                  |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
   |                  `- note: add 'if #available' version check
38 |                     if oldProgress == nil, let newProgress {
39 |                         trimTo = newProgress
[58/65] Compiling SoundPulseButton SoundPulseButtonRipplesView.swift
[59/65] Compiling SoundPulseButton SoundPulseButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundPulseButtonStyle.swift:32:22: error: 'sensoryFeedback(_:trigger:)' is only available in macOS 14.0 or newer
21 |
22 | /// Button style for SoundPulseButton with press effects and haptic feedback
23 | struct SoundPulseButtonStyle: ButtonStyle {
   |        `- note: add @available attribute to enclosing struct
24 |     let isListening: Bool
25 |     let isPulseVisible: Bool
   :
27 |     let configuration: SoundPulseButtonConfiguration
28 |
29 |     func makeBody(configuration: Configuration) -> some View {
   |          `- note: add @available attribute to enclosing instance method
30 |         configuration.label
31 |             .if(self.configuration.effects.button.hapticEnabled) { view in
32 |                 view.sensoryFeedback(
   |                      |- error: 'sensoryFeedback(_:trigger:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
33 |                     .impact(
34 |                         flexibility: configuration.isPressed ? .rigid : .solid,
[60/65] Compiling SoundPulseButton SoundPulseButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundPulseButton.swift:87:14: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
 12 | /// A customizable sound pulse button with audio level visualization and various effects
 13 | @MainActor
 14 | public struct SoundPulseButton: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     // MARK: - Public Properties
 16 |
    :
 79 |     // MARK: - Body
 80 |
 81 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 82 |         button
 83 |             .onAppear {
    :
 85 |                 updateAnimationState()
 86 |             }
 87 |             .onChange(of: audioLevel) {
    |              |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
    |              `- note: add 'if #available' version check
 88 |                 updateAnimationState()
 89 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SoundPulseButton.swift:90:14: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
 12 | /// A customizable sound pulse button with audio level visualization and various effects
 13 | @MainActor
 14 | public struct SoundPulseButton: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     // MARK: - Public Properties
 16 |
    :
 79 |     // MARK: - Body
 80 |
 81 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 82 |         button
 83 |             .onAppear {
    :
 88 |                 updateAnimationState()
 89 |             }
 90 |             .onChange(of: isListening) {
    |              |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
    |              `- note: add 'if #available' version check
 91 |                 updateAnimationState()
 92 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SoundPulseButton.swift:93:14: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
 12 | /// A customizable sound pulse button with audio level visualization and various effects
 13 | @MainActor
 14 | public struct SoundPulseButton: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     // MARK: - Public Properties
 16 |
    :
 79 |     // MARK: - Body
 80 |
 81 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 82 |         button
 83 |             .onAppear {
    :
 91 |                 updateAnimationState()
 92 |             }
 93 |             .onChange(of: showPulse) { _, newValue in
    |              |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
    |              `- note: add 'if #available' version check
 94 |                 if newValue {
 95 |                     startListeningAnimation()
/Users/admin/builder/spi-builder-workspace/Sources/SoundPulseButton.swift:100:14: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
 12 | /// A customizable sound pulse button with audio level visualization and various effects
 13 | @MainActor
 14 | public struct SoundPulseButton: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     // MARK: - Public Properties
 16 |
    :
 79 |     // MARK: - Body
 80 |
 81 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 82 |         button
 83 |             .onAppear {
    :
 98 |                 }
 99 |             }
100 |             .onChange(of: isLoading) { _, newValue in
    |              |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
    |              `- note: add 'if #available' version check
101 |                 if newValue {
102 |                     startLoadingAnimation()
[61/65] Emitting module SoundPulseButton
[62/65] Compiling SoundPulseButton AudioLevelRepository.swift
[63/65] Compiling SoundPulseButton SoundPulseButtonAudioBufferProvider.swift
[64/65] Compiling SoundPulseButton SoundPulseButtonBackgroundView.swift
[65/65] Compiling SoundPulseButton SoundPulseButtonConfiguration.swift
Fetching https://github.com/Lakr233/ColorfulX
[1/1424] Fetching colorfulx
Fetched https://github.com/Lakr233/ColorfulX from cache (1.27s)
Computing version for https://github.com/Lakr233/ColorfulX
Computed https://github.com/Lakr233/ColorfulX at 5.7.0 (1.74s)
Fetching https://github.com/Lakr233/SpringInterpolation.git
Fetching https://github.com/Lakr233/MSDisplayLink.git
Fetching https://github.com/Lakr233/ColorVector.git
[1/117] Fetching msdisplaylink
[75/263] Fetching msdisplaylink, springinterpolation
[221/319] Fetching msdisplaylink, springinterpolation, colorvector
Fetched https://github.com/Lakr233/ColorVector.git from cache (0.65s)
[221/263] Fetching msdisplaylink, springinterpolation
Fetched https://github.com/Lakr233/MSDisplayLink.git from cache (0.69s)
Fetched https://github.com/Lakr233/SpringInterpolation.git from cache (0.69s)
Computing version for https://github.com/Lakr233/MSDisplayLink.git
Computed https://github.com/Lakr233/MSDisplayLink.git at 2.0.8 (1.13s)
Computing version for https://github.com/Lakr233/SpringInterpolation.git
Computed https://github.com/Lakr233/SpringInterpolation.git at 1.3.1 (0.39s)
Computing version for https://github.com/Lakr233/ColorVector.git
Computed https://github.com/Lakr233/ColorVector.git at 1.0.4 (0.41s)
Creating working copy for https://github.com/Lakr233/ColorfulX
Working copy of https://github.com/Lakr233/ColorfulX resolved at 5.7.0
Creating working copy for https://github.com/Lakr233/SpringInterpolation.git
Working copy of https://github.com/Lakr233/SpringInterpolation.git resolved at 1.3.1
Creating working copy for https://github.com/Lakr233/ColorVector.git
Working copy of https://github.com/Lakr233/ColorVector.git resolved at 1.0.4
Creating working copy for https://github.com/Lakr233/MSDisplayLink.git
Working copy of https://github.com/Lakr233/MSDisplayLink.git resolved at 2.0.8
BUILD FAILURE 6.2 macosSpm