The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BottomSheet, reference 3.1.1 (720ddb), with Swift 6.0 for macOS (SPM) on 1 Jun 2025 07:55:20 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lucaszischka/BottomSheet.git
Reference: 3.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lucaszischka/BottomSheet
 * tag               3.1.1      -> FETCH_HEAD
HEAD is now at 720ddbd Release v3.1.1
Cloned https://github.com/lucaszischka/BottomSheet.git
Revision (git rev-parse @):
720ddbd1371fef2a09cc1ab65fc503df37767f9c
SUCCESS checkout https://github.com/lucaszischka/BottomSheet.git at 3.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/lucaszischka/BottomSheet.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/38] Emitting module BottomSheet
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet+ViewModifiers/BottomSheet+CustomBackground.swift:182:27: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
180 |     ///
181 |     /// - Returns: A view that uses the specified content as a background.
182 |     func customBackground<V>(
    |                           `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
183 |         alignment: Alignment = .center,
184 |         @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet.swift:10:59: note: 'V' previously declared here
  8 | import SwiftUI
  9 |
 10 | public struct BottomSheet<HContent: View, MContent: View, V: View>: View {
    |                                                           `- note: 'V' previously declared here
 11 |
 12 |     @Binding private var bottomSheetPosition: BottomSheetPosition
[4/41] Compiling BottomSheet BottomSheet+OnDismiss.swift
[5/41] Compiling BottomSheet BottomSheet+Resizable.swift
[6/41] Compiling BottomSheet BottomSheet+SheetWidth.swift
[7/41] Compiling BottomSheet BottomSheet+SwipeToDismiss.swift
[8/41] Compiling BottomSheet BottomSheetConfiguration.swift
[9/41] Compiling BottomSheet BottomSheetPosition.swift
[10/41] Compiling BottomSheet BottomSheetWidth.swift
[11/41] Compiling BottomSheet UIScrollViewWrapper.swift
[12/41] Compiling BottomSheet BundleExtension.swift
[13/41] Compiling BottomSheet ColorExtension.swift
[14/41] Compiling BottomSheet UIApplicationExtension.swift
[15/41] Compiling BottomSheet BottomSheet+AccountingForKeyboardHeight.swift
[16/41] Compiling BottomSheet BottomSheet+AppleScrollBehavior.swift
[17/41] Compiling BottomSheet BottomSheet+BackgroundBlur.swift
[18/41] Compiling BottomSheet BottomSheet+CloseButton.swift
[19/41] Compiling BottomSheet BottomSheet+DragGesture.swift
[20/41] Compiling BottomSheet BottomSheet+DragIndicator.swift
[21/41] Compiling BottomSheet BottomSheet+FlickThrough.swift
[22/41] Compiling BottomSheet BottomSheet+FloatingIPadSheet.swift
[23/41] Compiling BottomSheet BottomSheet+TapToDismiss.swift
[24/41] Compiling BottomSheet BottomSheet+Threshold.swift
[25/41] Compiling BottomSheet BottomSheet.swift
[26/41] Compiling BottomSheet BottomSheetView+Calculations.swift
[27/41] Compiling BottomSheet BottomSheetView+SwitchPosition.swift
[28/41] Compiling BottomSheet BottomSheetView.swift
[29/41] Compiling BottomSheet DragGestureExtension.swift
[30/41] Compiling BottomSheet TimerAnimation.swift
[31/41] Compiling BottomSheet BottomSheetView+DragIndicatorAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetView/BottomSheetView+HelperViews.swift:332:32: error: type 'Bundle' has no member 'module'
330 |             Image(
331 |                 "xmark.circle.fill",
332 |                 bundle: Bundle.module
    |                                `- error: type 'Bundle' has no member 'module'
333 |             )
334 |             // Design of the close button
[32/41] Compiling BottomSheet BottomSheetView+Gestures.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetView/BottomSheetView+HelperViews.swift:332:32: error: type 'Bundle' has no member 'module'
330 |             Image(
331 |                 "xmark.circle.fill",
332 |                 bundle: Bundle.module
    |                                `- error: type 'Bundle' has no member 'module'
333 |             )
334 |             // Design of the close button
[33/41] Compiling BottomSheet BottomSheetView+HelperViews.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetView/BottomSheetView+HelperViews.swift:332:32: error: type 'Bundle' has no member 'module'
330 |             Image(
331 |                 "xmark.circle.fill",
332 |                 bundle: Bundle.module
    |                                `- error: type 'Bundle' has no member 'module'
333 |             )
334 |             // Design of the close button
[34/41] Compiling BottomSheet BottomSheetView+KeyboardHeight.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetView/BottomSheetView+HelperViews.swift:332:32: error: type 'Bundle' has no member 'module'
330 |             Image(
331 |                 "xmark.circle.fill",
332 |                 bundle: Bundle.module
    |                                `- error: type 'Bundle' has no member 'module'
333 |             )
334 |             // Design of the close button
[35/41] Compiling BottomSheet BottomSheet+ContentDrag.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet+ViewModifiers/BottomSheet+CustomBackground.swift:182:27: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
180 |     ///
181 |     /// - Returns: A view that uses the specified content as a background.
182 |     func customBackground<V>(
    |                           `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
183 |         alignment: Alignment = .center,
184 |         @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet.swift:10:59: note: 'V' previously declared here
  8 | import SwiftUI
  9 |
 10 | public struct BottomSheet<HContent: View, MContent: View, V: View>: View {
    |                                                           `- note: 'V' previously declared here
 11 |
 12 |     @Binding private var bottomSheetPosition: BottomSheetPosition
[36/41] Compiling BottomSheet BottomSheet+CustomAnimation.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet+ViewModifiers/BottomSheet+CustomBackground.swift:182:27: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
180 |     ///
181 |     /// - Returns: A view that uses the specified content as a background.
182 |     func customBackground<V>(
    |                           `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
183 |         alignment: Alignment = .center,
184 |         @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet.swift:10:59: note: 'V' previously declared here
  8 | import SwiftUI
  9 |
 10 | public struct BottomSheet<HContent: View, MContent: View, V: View>: View {
    |                                                           `- note: 'V' previously declared here
 11 |
 12 |     @Binding private var bottomSheetPosition: BottomSheetPosition
[37/41] Compiling BottomSheet BottomSheet+CustomBackground+iOS15.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet+ViewModifiers/BottomSheet+CustomBackground.swift:182:27: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
180 |     ///
181 |     /// - Returns: A view that uses the specified content as a background.
182 |     func customBackground<V>(
    |                           `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
183 |         alignment: Alignment = .center,
184 |         @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet.swift:10:59: note: 'V' previously declared here
  8 | import SwiftUI
  9 |
 10 | public struct BottomSheet<HContent: View, MContent: View, V: View>: View {
    |                                                           `- note: 'V' previously declared here
 11 |
 12 |     @Binding private var bottomSheetPosition: BottomSheetPosition
[38/41] Compiling BottomSheet BottomSheet+CustomBackground.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet+ViewModifiers/BottomSheet+CustomBackground.swift:182:27: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
180 |     ///
181 |     /// - Returns: A view that uses the specified content as a background.
182 |     func customBackground<V>(
    |                           `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
183 |         alignment: Alignment = .center,
184 |         @ViewBuilder content: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet.swift:10:59: note: 'V' previously declared here
  8 | import SwiftUI
  9 |
 10 | public struct BottomSheet<HContent: View, MContent: View, V: View>: View {
    |                                                           `- note: 'V' previously declared here
 11 |
 12 |     @Binding private var bottomSheetPosition: BottomSheetPosition
[39/41] Compiling BottomSheet IgnoresSafeAreaCompatible.swift
[40/41] Compiling BottomSheet RoundedCornerViewModifier.swift
[41/41] Compiling BottomSheet VisualEffectView.swift
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/Media.xcassets
BUILD FAILURE 6.0 macosSpm