The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CustomTabView, reference main (32b9c6), with Swift 6.1 for Android on 29 Jul 2025 13:28:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NicFontana/SwiftUI-CustomTabView.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/NicFontana/SwiftUI-CustomTabView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 32b9c69 Merge pull request #10 from NicFontana/fix/stale-child-view
Cloned https://github.com/NicFontana/SwiftUI-CustomTabView.git
Revision (git rev-parse @):
32b9c69474dc69d037adbae04f13aa1aa04b8d21
SUCCESS checkout https://github.com/NicFontana/SwiftUI-CustomTabView.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/NicFontana/SwiftUI-CustomTabView.git
https://github.com/NicFontana/SwiftUI-CustomTabView.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CustomTabView",
  "name" : "CustomTabView",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "CustomTabView",
      "targets" : [
        "CustomTabView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CustomTabViewTests",
      "module_type" : "SwiftTarget",
      "name" : "CustomTabViewTests",
      "path" : "Tests/CustomTabViewTests",
      "sources" : [
        "CustomTabViewTests.swift"
      ],
      "target_dependencies" : [
        "CustomTabView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CustomTabView",
      "module_type" : "SwiftTarget",
      "name" : "CustomTabView",
      "path" : "Sources/CustomTabView",
      "product_memberships" : [
        "CustomTabView"
      ],
      "sources" : [
        "CustomTabView.swift",
        "EnvironmentValues+TabBarPosition.swift",
        "Example/BottomFloatingTabBarView.swift",
        "Example/ExampleView.swift",
        "Example/Tab.swift",
        "Example/TopIndicatorTabBarView.swift",
        "iOS/KeyboardReadable.swift",
        "iOS/UITabBarControllerRepresentable.swift",
        "macOS/NSTabBarControllerRepresentable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling CustomTabView ExampleView.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/12] Emitting module CustomTabView
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[5/12] Compiling CustomTabView CustomTabView.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[6/12] Compiling CustomTabView EnvironmentValues+TabBarPosition.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[7/12] Compiling CustomTabView NSTabBarControllerRepresentable.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[8/12] Compiling CustomTabView BottomFloatingTabBarView.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[9/12] Compiling CustomTabView UITabBarControllerRepresentable.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[10/12] Compiling CustomTabView KeyboardReadable.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[11/12] Compiling CustomTabView Tab.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[12/12] Compiling CustomTabView TopIndicatorTabBarView.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling CustomTabView Tab.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[3/10] Compiling CustomTabView ExampleView.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[4/10] Compiling CustomTabView UITabBarControllerRepresentable.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[5/11] Compiling CustomTabView TopIndicatorTabBarView.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[6/11] Compiling CustomTabView BottomFloatingTabBarView.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[7/11] Compiling CustomTabView KeyboardReadable.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/11] Emitting module CustomTabView
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[9/11] Compiling CustomTabView CustomTabView.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[10/11] Compiling CustomTabView EnvironmentValues+TabBarPosition.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
[11/11] Compiling CustomTabView NSTabBarControllerRepresentable.swift
/host/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A SwiftUI component that enables users to create a customizable TabView with a user-defined TabBar.
BUILD FAILURE 6.1 android