The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JunoUI, reference main (c7c996), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 08:12:51 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christianselig/JunoSlider.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/christianselig/JunoSlider
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c7c9967 Create LICENSE
Cloned https://github.com/christianselig/JunoSlider.git
Revision (git rev-parse @):
c7c9967c0107b3753bf45f23babba7f94d82a684
SUCCESS checkout https://github.com/christianselig/JunoSlider.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/christianselig/JunoSlider.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] JunoUI
[30 / 97]
[33 / 97]
[41 / 97]
[43 / 97]
[44 / 97]
[49 / 97]
[52 / 97]
[55 / 97]
[61 / 97]
[64 / 97]
[66 / 97]
[67 / 97]
[77 / 97]
[79 / 97]
[80 / 97]
[83 / 97]
[85 / 97]
[88 / 97] JunoUI
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/JunoUI/JunoSlider.swift failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftPerFileCompile JunoSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/JunoUI/JunoSlider.swift:52:26: error: 'shadow' is only available in macOS 13.0 or newer
  2 |
  3 | /// A slider that expands on selection.
  4 | public struct JunoSlider: View {
    |               `- note: add '@available' attribute to enclosing struct
  5 |     @Binding var sliderValue: CGFloat
  6 |     let maxSliderValue: CGFloat
    :
 32 |     }
 33 |
 34 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 35 |         ZStack {
 36 |             // visionOS (on device) does not like when drag targets are smaller than 40pt tall, so add an almost-transparent (as it still needs to be interactive) that enforces an effective minimum height. If the slider is tall than this on its own it's essentially just ignored.
    :
 50 |                 .foregroundStyle(
 51 |                     Color(white: 0.1, opacity: 0.5)
 52 |                         .shadow(.inner(color: .black.opacity(0.3), radius: 3.0, y: 2.0))
    |                          |- error: 'shadow' is only available in macOS 13.0 or newer
    |                          `- note: add 'if #available' version check
 53 |                 )
 54 |                 .shadow(color: .white.opacity(0.2), radius: 1, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/JunoUI/JunoSlider.swift:68:32: error: 'hoverEffect' is unavailable in macOS
 66 |                 }
 67 |                 .clipShape(.capsule) // Best attempt at fixing a bug https://twitter.com/ChristianSelig/status/1757139789457829902
 68 |                 .contentShape(.hoverEffect, .capsule)
    |                                `- error: 'hoverEffect' is unavailable in macOS
 69 |         }
 70 |         .gesture(DragGesture(minimumDistance: 0.0)
SwiftUI.ContentShapeKinds.hoverEffect:5:21: note: 'hoverEffect' has been explicitly marked unavailable here
3 |   @available(macOS, unavailable)
4 |   @available(watchOS, unavailable)
5 |   public static let hoverEffect: ContentShapeKinds}
  |                     `- note: 'hoverEffect' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/JunoUI/JunoSlider.swift:106:10: error: 'hoverEffect' is unavailable in macOS
104 |             }
105 |         )
106 |         .hoverEffect(.highlight)
    |          `- error: 'hoverEffect' is unavailable in macOS
107 |         .animation(.default, value: isGestureActive)
108 |         .accessibilityRepresentation {
SwiftUI.View.hoverEffect:5:27: note: 'hoverEffect' has been explicitly marked unavailable here
3 |   @available(macOS, unavailable)
4 |   @available(watchOS, unavailable)
5 |   nonisolated public func hoverEffect(_ effect: HoverEffect = .automatic) -> some View
  |                           `- note: 'hoverEffect' has been explicitly marked unavailable here
6 |   }
7 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/JunoUI/JunoSlider.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/JunoUI.build/Debug/JunoUI-t.build/Objects-normal/arm64/JunoSlider.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/JunoUI.build/Debug/JunoUI-t.build/Objects-normal/arm64/JunoSlider.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/JunoUI.build/Debug/JunoUI-t.build/Objects-normal/arm64/JunoSlider.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/JunoUI.build/Debug/JunoUI-t.build/Objects-normal/arm64/JunoSlider.dia -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/JunoUI.build/Debug/JunoUI-t.build/Objects-normal/arm64/JunoUI-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/JunoUI.build/Debug/JunoUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/JunoUI.build/Debug/JunoUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/JunoUI.build/Debug/JunoUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name JunoUI -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/JunoUI.build/Debug/JunoUI-t.build/Objects-normal/arm64/JunoUI_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/JunoUI.build/Debug/JunoUI-t.build/Objects-normal/arm64/JunoSlider.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/JunoUI.build/Debug/JunoUI-t.build/Objects-normal/arm64/JunoUI.swiftmodule -index-unit-output-path /JunoUI.build/Debug/JunoUI-t.build/Objects-normal/arm64/JunoSlider.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm