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 (b73180), with Swift 6.1 for Linux on 16 Jun 2025 07:56:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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 b731803 Documentation added
Cloned https://github.com/TheRakiburKhan/RKUtils.git
Revision (git rev-parse @):
b7318037312f3fdc3a48dae50704993c8f945ccb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/TheRakiburKhan/RKUtils.git at main
========================================
Build
========================================
Selected platform:         linux
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:930f780586bc21db1787241f3d35e477ed11b1101cff6fb987f4f674f121f048
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/22] 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/22] 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 {
[6/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/23] 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 {
[8/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 {
[9/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 {
[10/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 {
[11/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 {
[12/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 {
[13/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 {
[14/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 {
[15/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:930f780586bc21db1787241f3d35e477ed11b1101cff6fb987f4f674f121f048
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/20] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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 {
[4/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 {
[5/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 {
[6/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 {
[7/21] 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 {
[8/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 {
[9/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 {
[10/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 {
[11/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 {
[12/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 {
[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 {
BUILD FAILURE 6.1 linux