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 SwiftPackagesBase, reference main (87d20f), with Swift 6.1 for Wasm on 28 May 2025 09:21:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ITzTravelInTime/SwiftPackagesBase.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/ITzTravelInTime/SwiftPackagesBase
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 87d20f2 Create swift.yml
Cloned https://github.com/ITzTravelInTime/SwiftPackagesBase.git
Revision (git rev-parse @):
87d20f23b2d63a238ff66c45188984a93e5ddf67
SUCCESS checkout https://github.com/ITzTravelInTime/SwiftPackagesBase.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ITzTravelInTime/SwiftPackagesBase.git
https://github.com/ITzTravelInTime/SwiftPackagesBase.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftPackagesBase",
  "name" : "SwiftPackagesBase",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "7.0"
    },
    {
      "name" : "macos",
      "version" : "10.9"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftPackagesBase",
      "targets" : [
        "SwiftPackagesBase"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftPackagesBaseTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPackagesBaseTests",
      "path" : "Tests/SwiftPackagesBaseTests",
      "sources" : [
        "SwiftPackagesBaseTests.swift"
      ],
      "target_dependencies" : [
        "SwiftPackagesBase"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftPackagesBase",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPackagesBase",
      "path" : "Sources/SwiftPackagesBase",
      "product_memberships" : [
        "SwiftPackagesBase"
      ],
      "sources" : [
        "ArrayExtensions.swift",
        "BoolExtensions.swift",
        "BundleExtensions.swift",
        "DateExtensions.swift",
        "DictionaryExtensions.swift",
        "FetchingProtocols.swift",
        "FileManagerExtensions.swift",
        "FloatingPointExtensins.swift",
        "IntegerExtensins.swift",
        "NumericExtensions.swift",
        "OtherExtensins.swift",
        "OtherProtocols.swift",
        "RepresentableExtensions.swift",
        "RepresentableProtocols.swift",
        "SimulatableDetectableProtocols.swift",
        "StringExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling SwiftPackagesBase RepresentableExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[4/17] Compiling SwiftPackagesBase RepresentableProtocols.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[5/19] Compiling SwiftPackagesBase OtherExtensins.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[6/19] Compiling SwiftPackagesBase OtherProtocols.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[7/19] Compiling SwiftPackagesBase ArrayExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[8/19] Compiling SwiftPackagesBase BoolExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/19] Emitting module SwiftPackagesBase
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[10/19] Compiling SwiftPackagesBase FileManagerExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[11/19] Compiling SwiftPackagesBase FloatingPointExtensins.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[12/19] Compiling SwiftPackagesBase BundleExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[13/19] Compiling SwiftPackagesBase DateExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[14/19] Compiling SwiftPackagesBase IntegerExtensins.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[15/19] Compiling SwiftPackagesBase NumericExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[16/19] Compiling SwiftPackagesBase DictionaryExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[17/19] Compiling SwiftPackagesBase FetchingProtocols.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[18/19] Compiling SwiftPackagesBase SimulatableDetectableProtocols.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[19/19] Compiling SwiftPackagesBase StringExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/16] Emitting module SwiftPackagesBase
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[3/16] Compiling SwiftPackagesBase RepresentableExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[4/16] Compiling SwiftPackagesBase RepresentableProtocols.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[5/16] Compiling SwiftPackagesBase OtherExtensins.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[6/16] Compiling SwiftPackagesBase OtherProtocols.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[7/18] Compiling SwiftPackagesBase BundleExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[8/18] Compiling SwiftPackagesBase DateExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[9/18] Compiling SwiftPackagesBase ArrayExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[10/18] Compiling SwiftPackagesBase BoolExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[11/18] Compiling SwiftPackagesBase IntegerExtensins.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[12/18] Compiling SwiftPackagesBase NumericExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[13/18] Compiling SwiftPackagesBase DictionaryExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[14/18] Compiling SwiftPackagesBase FetchingProtocols.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[15/18] Compiling SwiftPackagesBase FileManagerExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[16/18] Compiling SwiftPackagesBase FloatingPointExtensins.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[17/18] Compiling SwiftPackagesBase SimulatableDetectableProtocols.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
[18/18] Compiling SwiftPackagesBase StringExtensions.swift
/host/spi-builder-workspace/Sources/SwiftPackagesBase/OtherExtensins.swift:38:8: error: no such module 'UIKit'
36 | }
37 | #else
38 | import UIKit
   |        `- error: no such module 'UIKit'
39 |
40 | public extension UIColor{
BUILD FAILURE 6.1 wasm