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.2 (beta) for Wasm on 10 Jul 2025 17:58:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 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:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/evgenyneu/Cosmos.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-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
[4/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 | /**
[5/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 | /**
[6/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 | /**
[7/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 | /**
[8/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 | /**
[9/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 | /**
[10/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 | /**
[11/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 | /**
[12/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 | /**
[13/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 | /**
[14/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 | /**
[15/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 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/20] 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/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 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 | /**
[20/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 | /**
BUILD FAILURE 6.2 wasm