Build Information
Failed to build CustomTabView with Swift 5.8 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NicFontana/SwiftUI-CustomTabView.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/NicFontana/SwiftUI-CustomTabView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6ef1961 chore: update README.md
Cloned https://github.com/NicFontana/SwiftUI-CustomTabView.git
Revision (git rev-parse @):
6ef1961612710f594eeaf669bf09484ccfebecce
SUCCESS checkout https://github.com/NicFontana/SwiftUI-CustomTabView.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/9] Compiling CustomTabView TopIndicatorTabBarView.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/TopIndicatorTabBarView.swift:53:25: error: member 'spring(response:dampingFraction:blendDuration:)' is a function that produces expected type 'Animation'; did you mean to call it?
.animation(.spring, value: tabIndicatorXOffset)
^
()
[2/10] Compiling CustomTabView ExampleView.swift
[3/10] Compiling CustomTabView Tab.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/Tab.swift:34:13: warning: result of 'Image' initializer is unused
Image(systemName: "house.fill")
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/Tab.swift:36:13: warning: result of 'Image' initializer is unused
Image(systemName: "magnifyingglass")
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/Tab.swift:38:13: warning: result of 'Image' initializer is unused
Image(systemName: "heart.fill")
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/Tab.swift:40:13: warning: result of 'Image' initializer is unused
Image(systemName: "ellipsis")
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/Tab.swift:42:5: error: missing return in getter expected to return 'Image'
}
^
[4/10] Compiling CustomTabView UITabBarControllerRepresentable.swift
[5/10] Compiling CustomTabView KeyboardReadable.swift
[6/10] Emitting module CustomTabView
[7/10] Compiling CustomTabView BottomFloatingTabBarView.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/BottomFloatingTabBarView.swift:72:12: warning: unnecessary check for 'macOS'; enclosing scope ensures guard will always be true
if #available(macOS 11.0, iOS 14.0, *) {
^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/BottomFloatingTabBarView.swift:70:8: note: enclosing scope here
struct BottomFloatingTabBarView_Previews: PreviewProvider {
^
[8/10] Compiling CustomTabView CustomTabView.swift
[9/10] Compiling CustomTabView EnvironmentValues+TabBarPosition.swift
[10/10] Compiling CustomTabView NSTabBarControllerRepresentable.swift
[0/1] Planning build
Building for debugging...
[1/3] Emitting module CustomTabView
[2/3] Compiling CustomTabView TopIndicatorTabBarView.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/TopIndicatorTabBarView.swift:53:25: error: member 'spring(response:dampingFraction:blendDuration:)' is a function that produces expected type 'Animation'; did you mean to call it?
.animation(.spring, value: tabIndicatorXOffset)
^
()
[3/3] Compiling CustomTabView Tab.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/Tab.swift:34:13: warning: result of 'Image' initializer is unused
Image(systemName: "house.fill")
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/Tab.swift:36:13: warning: result of 'Image' initializer is unused
Image(systemName: "magnifyingglass")
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/Tab.swift:38:13: warning: result of 'Image' initializer is unused
Image(systemName: "heart.fill")
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/Tab.swift:40:13: warning: result of 'Image' initializer is unused
Image(systemName: "ellipsis")
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CustomTabView/Example/Tab.swift:42:5: error: missing return in getter expected to return 'Image'
}
^
BUILD FAILURE 5.8 macosSpm