The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftUINavigationHeader, reference main (5f9530), with Swift 6.1 for Android on 14 Oct 2025 05:40:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexeichhorn/SwiftUINavigationHeader.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/alexeichhorn/SwiftUINavigationHeader
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5f9530a even better support for landscape
Cloned https://github.com/alexeichhorn/SwiftUINavigationHeader.git
Revision (git rev-parse @):
5f9530a4e1975d90d04e4b2ed14a127ea5a064a5
SUCCESS checkout https://github.com/alexeichhorn/SwiftUINavigationHeader.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/alexeichhorn/SwiftUINavigationHeader.git
https://github.com/alexeichhorn/SwiftUINavigationHeader.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "smoothgradient",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/raymondjavaxx/SmoothGradient.git"
    }
  ],
  "manifest_display_name" : "SwiftUINavigationHeader",
  "name" : "SwiftUINavigationHeader",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUINavigationHeader",
      "targets" : [
        "SwiftUINavigationHeader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUINavigationHeaderTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUINavigationHeaderTests",
      "path" : "Tests/SwiftUINavigationHeaderTests",
      "sources" : [
        "SwiftUINavigationHeaderTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftUINavigationHeader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUINavigationHeader",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUINavigationHeader",
      "path" : "Sources/SwiftUINavigationHeader",
      "product_dependencies" : [
        "SmoothGradient"
      ],
      "product_memberships" : [
        "SwiftUINavigationHeader"
      ],
      "sources" : [
        "ColorComparison.swift",
        "Extensions.swift",
        "NavigationHeaderContainer.swift",
        "SwiftUINavigationHeader.swift",
        "ToolbarItemExtension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/raymondjavaxx/SmoothGradient.git
[1/245] Fetching smoothgradient
Fetched https://github.com/raymondjavaxx/SmoothGradient.git from cache (0.41s)
Computing version for https://github.com/raymondjavaxx/SmoothGradient.git
Computed https://github.com/raymondjavaxx/SmoothGradient.git at 1.0.1 (0.96s)
Creating working copy for https://github.com/raymondjavaxx/SmoothGradient.git
Working copy of https://github.com/raymondjavaxx/SmoothGradient.git resolved at 1.0.1
Building for debugging...
[0/4] Write sources
[0/4] Copying PrivacyInfo.xcprivacy
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling SmoothGradient Gradient+Smooth.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
[6/11] Compiling SmoothGradient resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
[7/11] Compiling SmoothGradient SmoothLinearGradient.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
[8/11] Compiling SmoothGradient GradientInterpolator.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Emitting module SmoothGradient
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
[10/11] Compiling SmoothGradient CubicBezierCurve.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
[11/11] Compiling SmoothGradient Curve.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
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/8] Compiling SmoothGradient Curve.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
[3/8] Compiling SmoothGradient SmoothLinearGradient.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
[4/8] Compiling SmoothGradient resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
[5/8] Compiling SmoothGradient GradientInterpolator.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
[6/8] Compiling SmoothGradient Gradient+Smooth.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module SmoothGradient
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
[8/8] Compiling SmoothGradient CubicBezierCurve.swift
/host/spi-builder-workspace/.build/checkouts/SmoothGradient/Sources/SmoothGradient/CubicBezierCurve.swift:11:8: error: no such module 'SwiftUI'
  9 | //
 10 |
 11 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 12 |
 13 | /// Cubic Bezier curve for interpolating the gradient.
BUILD FAILURE 6.1 android