The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Snap, reference 0.2.2 (29943b), with Swift 6.4 for macOS (SPM) on 17 Sep 2026 04:32:39 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/nerdsupremacist/Snap.git
Reference: 0.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerdsupremacist/Snap
 * tag               0.2.2      -> FETCH_HEAD
HEAD is now at 29943b7 Making the difference to 3 times the padding to account for padding underneath
Cloned https://github.com/nerdsupremacist/Snap.git
Revision (git rev-parse @):
29943b7064547f391ea8352dea04903e2263d831
SUCCESS checkout https://github.com/nerdsupremacist/Snap.git at 0.2.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/nerdsupremacist/Snap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 66]
[Planning deferred tasks]
[19 / 28]
[20 / 29] Snap
[30 / 102]
[33 / 102]
[41 / 102]
[43 / 102]
[44 / 102]
[49 / 102]
[52 / 102]
[55 / 102]
[61 / 102]
[64 / 102]
[66 / 102]
[67 / 102]
[77 / 102]
[79 / 102]
[80 / 102]
[83 / 102]
[85 / 102]
[93 / 102] Snap
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:6:78: error: cannot find type 'UIView' in scope
 4 |
 5 | public struct BlurView: UIViewRepresentable {
 6 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
   |                                                                              `- error: cannot find type 'UIView' in scope
 7 |         let view = UIView(frame: .zero)
 8 |         view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:6:37: error: cannot find type 'UIViewRepresentableContext' in scope
 4 |
 5 | public struct BlurView: UIViewRepresentable {
 6 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
   |                                     `- error: cannot find type 'UIViewRepresentableContext' in scope
 7 |         let view = UIView(frame: .zero)
 8 |         view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:24:40: error: cannot find type 'UIView' in scope
22 |     }
23 |
24 |     public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
   |                                        `- error: cannot find type 'UIView' in scope
25 |         guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
26 |         let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:24:57: error: cannot find type 'UIViewRepresentableContext' in scope
22 |     }
23 |
24 |     public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
   |                                                         `- error: cannot find type 'UIViewRepresentableContext' in scope
25 |         guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
26 |         let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:5:25: error: cannot find type 'UIViewRepresentable' in scope
 3 | import SwiftUI
 4 |
 5 | public struct BlurView: UIViewRepresentable {
   |                         `- error: cannot find type 'UIViewRepresentable' in scope
 6 |     public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
 7 |         let view = UIView(frame: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapCalculator.swift:93:68: error: cannot find type 'UIEdgeInsets' in scope
 91 | extension SnapPoint {
 92 |
 93 |     fileprivate func offset(deviceHeight: CGFloat, safeAreaInsets: UIEdgeInsets) -> CGFloat {
    |                                                                    `- error: cannot find type 'UIEdgeInsets' in scope
 94 |         switch self {
 95 |         case .fraction(let fraction):
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:73:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
 71 | }
 72 |
 73 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
    | `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
 74 |
 75 |     public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:169:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
167 | }
168 |
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
    | `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
170 |
171 |     public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:274:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
272 | }
273 |
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
    | `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
275 |
276 |     public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:362:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
360 | }
361 |
362 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
    | `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
363 |
364 |     public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:450:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
448 | }
449 |
450 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
    | `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
451 |
452 |     public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:547:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
545 | }
546 |
547 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
    | `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
548 |
549 |     public init(large: SnapPoint,
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift /Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapCalculator.swift /Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift /Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift /Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapPoint.swift /Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapState.swift -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/Snap.build/Debug/Snap-t.build/Objects-normal/arm64/Snap-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/Snap.build/Debug/Snap-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Snap.build/Debug/Snap-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Snap.build/Debug/Snap-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Snap -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Snap.build/Debug/Snap-t.build/Objects-normal/arm64/Snap_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 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Snap.build/Debug/Snap-t.build/Objects-normal/arm64/Snap.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Snap.build/Debug/Snap-t.build/Objects-normal/arm64/Snap.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Snap.build/Debug/Snap-t.build/Objects-normal/arm64/Snap-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Snap.build/Debug/Snap-t.build/Objects-normal/arm64/Snap-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Snap.build/Debug/Snap-t.build/Objects-normal/arm64/Snap-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Snap.build/Debug/Snap-t.build/Objects-normal/arm64/Snap.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Snap.build/Debug/Snap-t.build/Objects-normal/arm64/Snap.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm