The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CustomTabView, reference v1.1.0 (622dfe), with Swift 5.10 for macOS (SPM) on 19 Jan 2025 18:19:51 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NicFontana/SwiftUI-CustomTabView.git
Reference: v1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NicFontana/SwiftUI-CustomTabView
 * tag               v1.1.0     -> FETCH_HEAD
HEAD is now at 622dfef Merge pull request #7 from NicFontana/feat/support-ios-18-swiftui-containers
Cloned https://github.com/NicFontana/SwiftUI-CustomTabView.git
Revision (git rev-parse @):
622dfef343c3840a6c0545e61576ba3fa4424b66
SUCCESS checkout https://github.com/NicFontana/SwiftUI-CustomTabView.git at v1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/NicFontana/SwiftUI-CustomTabView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/12] Compiling CustomTabView UITabBarControllerRepresentable.swift
[4/12] Compiling CustomTabView KeyboardReadable.swift
[5/12] Compiling CustomTabView NSTabBarControllerRepresentable.swift
[6/12] Compiling CustomTabView BottomFloatingTabBarView.swift
[7/12] Compiling CustomTabView Tab.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Compiling CustomTabView ExampleView.swift
[9/12] Compiling CustomTabView EnvironmentValues+TabBarPosition.swift
[10/12] Compiling CustomTabView TopIndicatorTabBarView.swift
[11/12] Emitting module CustomTabView
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:228:19: error: cannot find type 'SubviewsCollection' in scope
    let children: SubviewsCollection
                  ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:230:40: error: cannot find type 'SubviewsCollection' in scope
    private func contentView(children: SubviewsCollection) -> some View {
                                       ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:244:39: error: cannot find type 'SubviewsCollection' in scope
    private func topBarView(children: SubviewsCollection) -> some View {
                                      ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:252:42: error: cannot find type 'SubviewsCollection' in scope
    private func bottomBarView(children: SubviewsCollection) -> some View {
                                         ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:260:40: error: cannot find type 'SubviewsCollection' in scope
    private func leftBarView(children: SubviewsCollection) -> some View {
                                       ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:268:41: error: cannot find type 'SubviewsCollection' in scope
    private func rightBarView(children: SubviewsCollection) -> some View {
                                        ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:276:44: error: cannot find type 'SubviewsCollection' in scope
    private func floatingBarView(children: SubviewsCollection, edge: Edge) -> some View {
                                           ^~~~~~~~~~~~~~~~~~
[12/12] Compiling CustomTabView CustomTabView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:228:19: error: cannot find type 'SubviewsCollection' in scope
    let children: SubviewsCollection
                  ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:230:40: error: cannot find type 'SubviewsCollection' in scope
    private func contentView(children: SubviewsCollection) -> some View {
                                       ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:244:39: error: cannot find type 'SubviewsCollection' in scope
    private func topBarView(children: SubviewsCollection) -> some View {
                                      ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:252:42: error: cannot find type 'SubviewsCollection' in scope
    private func bottomBarView(children: SubviewsCollection) -> some View {
                                         ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:260:40: error: cannot find type 'SubviewsCollection' in scope
    private func leftBarView(children: SubviewsCollection) -> some View {
                                       ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:268:41: error: cannot find type 'SubviewsCollection' in scope
    private func rightBarView(children: SubviewsCollection) -> some View {
                                        ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:276:44: error: cannot find type 'SubviewsCollection' in scope
    private func floatingBarView(children: SubviewsCollection, edge: Edge) -> some View {
                                           ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: error: no exact matches in call to initializer
            Group(subviews: content) { subviews in
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
            Group(subviews: content) { subviews in
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
            Group(subviews: content) { subviews in
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
            Group(subviews: content) { subviews in
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
            Group(subviews: content) { subviews in
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
            Group(subviews: content) { subviews in
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
            Group(subviews: content) { subviews in
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
            Group(subviews: content) { subviews in
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
            Group(subviews: content) { subviews in
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: error: generic parameter 'Content' could not be inferred
            Group(subviews: content) { subviews in
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: explicitly specify the generic arguments to fix this issue
            Group(subviews: content) { subviews in
            ^
                 <Any>
error: fatalError
BUILD FAILURE 5.10 macosSpm