Build Information
Failed to build SoundPulseButton, reference main (f994bb
), with Swift 6.2 (beta) for macOS (SPM) on 8 Aug 2025 22:59:56 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mikhailkogan17/SoundPulseButton
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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] Emitting module ColorVector
[8/33] Compiling SpringInterpolation SpringInterpolation2D.swift
[9/33] Compiling ColorVector ColorVector.swift
[10/33] Compiling ColorVector ColorConversion+LAB_LCH.swift
[11/33] Compiling ColorVector ColorConversion+LAB_XYZ.swift
[12/33] Compiling SpringInterpolation SpringInterpolation+Context.swift
[13/33] Compiling SpringInterpolation SpringInterpolation+Parameters.swift
[14/33] Compiling SpringInterpolation SpringInterpolation.swift
[15/33] Compiling SpringInterpolation SpringInterpolation+Configuration.swift
[16/33] Emitting module SpringInterpolation
[17/33] Compiling ColorVector ColorVector+LCH.swift
[18/33] Compiling ColorVector ColorVector+RGB.swift
[19/33] Compiling ColorVector ColorConversion.swift
[20/33] Compiling ColorVector ColorVector+LAB.swift
[21/33] Compiling ColorVector ColorConversion+XYZ_RGB.swift
[22/33] Compiling ColorVector ColorVector+XYZ.swift
[23/33] Compiling ColorVector ColorConversion+LCH_LAB.swift
[24/33] Compiling ColorVector ColorConversion+RGB_XYZ.swift
[25/33] Compiling ColorVector ColorConversion+XYZ_LAB.swift
[26/33] Compiling MSDisplayLink DisplayLink.swift
[27/33] Compiling MSDisplayLink DisplayLinkCallbackContext.swift
[28/33] Compiling MSDisplayLink DisplayLinkDriver+CV.swift
[29/33] Emitting module MSDisplayLink
[30/33] Compiling MSDisplayLink DisplayLinkDriver+CA.swift
[31/33] Compiling MSDisplayLink DisplayLinkDriver+Helper.swift
[32/33] Compiling MSDisplayLink DisplayLinkDriver.swift
[33/33] Compiling MSDisplayLink DisplayLink+SwiftUI.swift
[34/52] Compiling ColorfulX AnimatedMulticolorGradientView+Update.swift
[35/52] Compiling ColorfulX AnimatedMulticolorGradientView.swift
[36/52] Compiling ColorfulX AnimatedMulticolorGradientView+Speckle.swift
[37/52] Compiling ColorfulX AnimatedMulticolorGradientView+SwiftUI.swift
[38/54] Compiling ColorfulX MulticolorGradientView+Lerpable.swift
[39/54] Compiling ColorfulX MulticolorGradientView+Parameters.swift
[40/54] Compiling ColorfulX Color.swift
[41/54] Compiling ColorfulX ColorfulColors.swift
[42/54] Compiling ColorfulX Lerpable.swift
[43/54] Compiling ColorfulX MetalLink.swift
[44/54] Compiling ColorfulX MulticolorGradientView+SwiftUI.swift
[45/54] Compiling ColorfulX MulticolorGradientView.swift
[46/54] Emitting module ColorfulX
[47/54] Compiling ColorfulX ColorfulPreset.swift
[48/54] Compiling ColorfulX ColorfulView.swift
[49/54] Compiling ColorfulX MetalProgram.swift
[50/54] Compiling ColorfulX MetalView+AppKit.swift
[51/54] Compiling ColorfulX MetalView+UIKit.swift
[52/54] Compiling ColorfulX MetalView.swift
[53/54] Compiling ColorfulX PlatformCheck.swift
[54/54] Compiling ColorfulX Uniforms.swift
[55/64] Compiling SoundPulseButton SoundPulseButtonInnerCirclesView.swift
[56/64] Compiling SoundPulseButton SoundPulseButtonRipplesView.swift
[57/64] 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 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,
[59/65] Compiling SoundPulseButton SoundPulseButtonIconView.swift
[60/65] Compiling SoundPulseButton AudioLevelRepository.swift
[61/65] Compiling SoundPulseButton SoundPulseButtonAudioBufferProvider.swift
[62/65] Compiling SoundPulseButton SoundPulseButtonBackgroundView.swift
[63/65] Emitting module SoundPulseButton
[64/65] Compiling SoundPulseButton SoundPulseButtonConfiguration.swift
[65/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()
Fetching https://github.com/Lakr233/ColorfulX
[1/1424] Fetching colorfulx
Fetched https://github.com/Lakr233/ColorfulX from cache (1.25s)
Computing version for https://github.com/Lakr233/ColorfulX
Computed https://github.com/Lakr233/ColorfulX at 5.7.0 (1.67s)
Fetching https://github.com/Lakr233/ColorVector.git
Fetching https://github.com/Lakr233/SpringInterpolation.git
Fetching https://github.com/Lakr233/MSDisplayLink.git
[1/56] Fetching colorvector
[57/173] Fetching colorvector, msdisplaylink
[131/319] Fetching colorvector, msdisplaylink, springinterpolation
Fetched https://github.com/Lakr233/SpringInterpolation.git from cache (0.67s)
Fetched https://github.com/Lakr233/MSDisplayLink.git from cache (0.67s)
Fetched https://github.com/Lakr233/ColorVector.git from cache (0.67s)
Computing version for https://github.com/Lakr233/MSDisplayLink.git
Computed https://github.com/Lakr233/MSDisplayLink.git at 2.0.8 (1.08s)
Computing version for https://github.com/Lakr233/SpringInterpolation.git
Computed https://github.com/Lakr233/SpringInterpolation.git at 1.3.1 (0.38s)
Computing version for https://github.com/Lakr233/ColorVector.git
Computed https://github.com/Lakr233/ColorVector.git at 1.0.4 (0.39s)
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/MSDisplayLink.git
Working copy of https://github.com/Lakr233/MSDisplayLink.git resolved at 2.0.8
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
BUILD FAILURE 6.2 macosSpm