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 master (aebcb0), with Swift 6.1 for Linux on 10 Jul 2025 17:59:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/evgenyneu/Cosmos.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at aebcb0e Merge pull request #205 from funnel20/funnel20-objc-bridge
Cloned https://github.com/evgenyneu/Cosmos.git
Revision (git rev-parse @):
aebcb0e3ee9631845d9be8cf628e819bb3a01570
SUCCESS checkout https://github.com/evgenyneu/Cosmos.git at master
========================================
Build
========================================
Selected platform:         linux
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-4606859-0":/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 -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/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 | /**
[6/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 | /**
[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 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 | /**
[10/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 | /**
[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 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 | /**
[14/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 | /**
[15/20] 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 | /**
[16/20] 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 | /**
[17/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 | /**
[18/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 | /**
[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-4606859-0":/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:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/96px.png
    /host/spi-builder-workspace/CosmosTests/Info.plist
    /host/spi-builder-workspace/CosmosTests/Images/35px.jpg
    /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 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 | /**
[3/16] 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 | /**
[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 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 | /**
[7/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 | /**
[8/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 | /**
[9/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 | /**
[10/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 | /**
[11/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 | /**
[12/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 | /**
[13/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 | /**
[14/18] 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 | /**
[15/18] 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 | /**
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 linux