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 Cosmos, reference 25.0.1 (40ba10), with Swift 6.0 for Linux on 10 Jul 2025 17:58:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/evgenyneu/Cosmos.git
Reference: 25.0.1
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/evgenyneu/Cosmos
 * tag               25.0.1     -> FETCH_HEAD
HEAD is now at 40ba10a Bump version
Cloned https://github.com/evgenyneu/Cosmos.git
Revision (git rev-parse @):
40ba10aaf175bf50abefd0e518bd3b40862af3b1
SUCCESS checkout https://github.com/evgenyneu/Cosmos.git at 25.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/evgenyneu/Cosmos.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Cosmos/Info.plist
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/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/18] Emitting module Cosmos
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[5/18] Compiling Cosmos CosmosLayerHelper.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[6/18] Compiling Cosmos CosmosLayers.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[7/20] Compiling Cosmos CosmosText.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[8/20] Compiling Cosmos CosmosTouch.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[9/20] Compiling Cosmos CosmosView.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[10/20] Compiling Cosmos CosmosTouchTarget.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[11/20] Compiling Cosmos CosmosSettings.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[12/20] Compiling Cosmos CosmosSize.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[13/20] Compiling Cosmos CosmosLocalizedRating.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[14/20] Compiling Cosmos CosmosRating.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[15/20] Compiling Cosmos RightToLeft.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[16/20] Compiling Cosmos StarFillMode.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[17/20] Compiling Cosmos CosmosAccessibility.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[18/20] Compiling Cosmos CosmosDefaultSettings.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[19/20] Compiling Cosmos StarLayer.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
[20/20] Compiling Cosmos resource_bundle_accessor.swift
/host/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /**
BUILD FAILURE 6.0 linux