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 RKUtils, reference main (fdca2b), with Swift 6.1 for Android on 16 Jul 2025 07:38:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/TheRakiburKhan/RKUtils.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/TheRakiburKhan/RKUtils
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fdca2b0 Minor calendar changes in date events
Cloned https://github.com/TheRakiburKhan/RKUtils.git
Revision (git rev-parse @):
fdca2b0b8e523d2673b9e39c1f807f3b31d33a51
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/TheRakiburKhan/RKUtils.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/TheRakiburKhan/RKUtils.git
https://github.com/TheRakiburKhan/RKUtils.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RKUtils",
  "name" : "RKUtils",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "RKUtils",
      "targets" : [
        "RKUtils"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RKUtilsiOS",
      "targets" : [
        "RKUtils",
        "RKUtilsiOSUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RKUtilsiOSUI",
      "module_type" : "SwiftTarget",
      "name" : "RKUtilsiOSUI",
      "path" : "Sources/RKUtilsiOSUI",
      "product_memberships" : [
        "RKUtilsiOS"
      ],
      "sources" : [
        "CGRect.swift",
        "Color.swift",
        "UICollectionView.swift",
        "UIColor.swift",
        "UIDevice.swift",
        "UIScreen.swift",
        "UIStoryboard.swift",
        "UITableView.swift",
        "UITextField.swift",
        "UITextView.swift",
        "UIView.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RKUtilsiOSTests",
      "module_type" : "SwiftTarget",
      "name" : "RKUtilsiOSTests",
      "path" : "Tests/RKUtilsiOSTests",
      "sources" : [
        "IntExtensionsTests.swift",
        "RKiOSUtilsTests.swift"
      ],
      "target_dependencies" : [
        "RKUtils",
        "RKUtilsiOSUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RKUtils",
      "module_type" : "SwiftTarget",
      "name" : "RKUtils",
      "path" : "Sources/RKUtils",
      "product_memberships" : [
        "RKUtils",
        "RKUtilsiOS"
      ],
      "sources" : [
        "Bundle.swift",
        "CLLocationCoordinate2D.swift",
        "Data.swift",
        "Date.swift",
        "Double.swift",
        "Int.swift",
        "String.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 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/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/22] Emitting module RKUtilsiOSUI
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[5/23] Compiling RKUtilsiOSUI UITableView.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[6/23] Compiling RKUtilsiOSUI UITextField.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[7/23] Compiling RKUtilsiOSUI UITextView.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[8/23] Compiling RKUtilsiOSUI UIStoryboard.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[9/23] Compiling RKUtilsiOSUI CGRect.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[10/23] Compiling RKUtilsiOSUI Color.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[11/23] Compiling RKUtilsiOSUI UIView.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[12/23] Compiling RKUtilsiOSUI UICollectionView.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[13/23] Compiling RKUtilsiOSUI UIColor.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[14/23] Compiling RKUtilsiOSUI UIDevice.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[15/23] Compiling RKUtilsiOSUI UIScreen.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/23] Emitting module RKUtils
/host/spi-builder-workspace/Sources/RKUtils/CLLocationCoordinate2D.swift:9:8: error: no such module 'CoreLocation'
 7 | //
 8 |
 9 | import CoreLocation
   |        `- error: no such module 'CoreLocation'
10 |
11 | public extension CLLocationCoordinate2D {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/20] Compiling RKUtilsiOSUI UIStoryboard.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[3/21] Compiling RKUtilsiOSUI UITextView.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[4/21] Compiling RKUtilsiOSUI UIDevice.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[5/21] Compiling RKUtilsiOSUI UIScreen.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/21] Emitting module RKUtilsiOSUI
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[7/21] Compiling RKUtilsiOSUI UICollectionView.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[8/21] Compiling RKUtilsiOSUI UIColor.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[9/21] Compiling RKUtilsiOSUI CGRect.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[10/21] Compiling RKUtilsiOSUI Color.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[11/21] Compiling RKUtilsiOSUI UITextField.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[12/21] Compiling RKUtilsiOSUI UITableView.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
[13/21] Compiling RKUtilsiOSUI UIView.swift
/host/spi-builder-workspace/Sources/RKUtilsiOSUI/Color.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | public extension Color {
error: emit-module command failed with exit code 1 (use -v to see invocation)
BUILD FAILURE 6.1 android