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.1 for Android on 10 Jul 2025 18:00:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/evgenyneu/Cosmos.git
https://github.com/evgenyneu/Cosmos.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Cosmos",
  "name" : "Cosmos",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Cosmos",
      "targets" : [
        "Cosmos"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CosmosTests",
      "module_type" : "SwiftTarget",
      "name" : "CosmosTests",
      "path" : "CosmosTests",
      "sources" : [
        "CosmosAccessibilityCallbacksTests.swift",
        "CosmosAccessibilityTests.swift",
        "CosmosLayersTests.swift",
        "CosmosLocalizedRatingTests.swift",
        "CosmosRatingTests.swift",
        "CosmosSettingsTests.swift",
        "CosmosTouchTests.swift",
        "CosmosViewTests.swift",
        "Helpers/CosmosTest.swift",
        "Helpers/CosmosTouchTargetTests.swift",
        "TestHelpers/Round.swift"
      ],
      "target_dependencies" : [
        "Cosmos"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cosmos",
      "module_type" : "SwiftTarget",
      "name" : "Cosmos",
      "path" : "Cosmos",
      "product_memberships" : [
        "Cosmos"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Cosmos/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CosmosAccessibility.swift",
        "CosmosDefaultSettings.swift",
        "CosmosLayerHelper.swift",
        "CosmosLayers.swift",
        "CosmosLocalizedRating.swift",
        "CosmosRating.swift",
        "CosmosSettings.swift",
        "CosmosSize.swift",
        "CosmosText.swift",
        "CosmosTouch.swift",
        "CosmosView.swift",
        "Helpers/CosmosTouchTarget.swift",
        "Helpers/RightToLeft.swift",
        "StarFillMode.swift",
        "StarLayer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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
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] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[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 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 | /**
[6/18] 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 | /**
[7/18] 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 | /**
[8/18] 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 | /**
[9/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 | /**
[10/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 | /**
[11/18] 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 | /**
[12/18] 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 | /**
[13/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 | /**
[14/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 | /**
[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 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 | /**
[18/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 | /**
[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 | /**
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/CosmosTests/Images/35px.jpg
    /host/spi-builder-workspace/CosmosTests/Images/96px.png
    /host/spi-builder-workspace/CosmosTests/Info.plist
    /host/spi-builder-workspace/CosmosTests/Images/67px.png
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] 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 | /**
[3/16] 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 | /**
[4/18] 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 | /**
[5/18] 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 | /**
[6/18] 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 | /**
[7/18] 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 | /**
[8/18] 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 | /**
[9/18] 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 | /**
[10/18] 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 | /**
[11/18] 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 | /**
[12/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 | /**
[13/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 | /**
[14/18] 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 | /**
[15/18] 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 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/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 | /**
[17/18] 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/18] 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 | /**
BUILD FAILURE 6.1 android