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 Dysprosium, reference v6.1.0 (f924ff), with Swift 6.1 for Wasm on 27 May 2025 19:56:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/e-sites/Dysprosium.git
Reference: v6.1.0
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/e-sites/Dysprosium
 * tag               v6.1.0     -> FETCH_HEAD
HEAD is now at f924ff3 Removed AnyObject protocol inheritance
Cloned https://github.com/e-sites/Dysprosium.git
Revision (git rev-parse @):
f924ff3e0c5c3b5c6577916216155156bb7a950e
SUCCESS checkout https://github.com/e-sites/Dysprosium.git at v6.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/e-sites/Dysprosium.git
https://github.com/e-sites/Dysprosium.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "lithium",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/e-sites/lithium.git"
    }
  ],
  "manifest_display_name" : "Dysprosium",
  "name" : "Dysprosium",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Dysprosium",
      "targets" : [
        "Dysprosium"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DysprosiumLog",
      "targets" : [
        "DysprosiumLog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DysprosiumLog",
      "module_type" : "SwiftTarget",
      "name" : "DysprosiumLog",
      "path" : "Sources/Logging",
      "product_dependencies" : [
        "Lithium"
      ],
      "product_memberships" : [
        "DysprosiumLog"
      ],
      "sources" : [
        "DysprosiumLogging.swift"
      ],
      "target_dependencies" : [
        "Dysprosium"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Dysprosium",
      "module_type" : "SwiftTarget",
      "name" : "Dysprosium",
      "path" : "Sources/Core",
      "product_memberships" : [
        "Dysprosium",
        "DysprosiumLog"
      ],
      "sources" : [
        "Dysprosium.swift",
        "DysprosiumCompatible.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/e-sites/lithium.git
[1/304] Fetching lithium
Fetched https://github.com/e-sites/lithium.git from cache (0.22s)
Computing version for https://github.com/e-sites/lithium.git
Computed https://github.com/e-sites/lithium.git at 9.0.5 (0.70s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.35s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.63s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/e-sites/lithium.git
Working copy of https://github.com/e-sites/lithium.git resolved at 9.0.5
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/13] Compiling Logging LogHandler.swift
[7/13] Emitting module Logging
[8/13] Compiling Logging Locks.swift
[9/13] Compiling Logging MetadataProvider.swift
[10/13] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/14] Emitting module Dysprosium
/host/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | // MARK: - DysprosiumObject
[13/14] Compiling Dysprosium DysprosiumCompatible.swift
/host/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | // MARK: - DysprosiumObject
[14/14] Compiling Dysprosium Dysprosium.swift
/host/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | // MARK: - DysprosiumObject
[15/21] Compiling Lithium LogTheme.swift
[16/21] Compiling Lithium LogStyle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/21] Emitting module Lithium
/host/spi-builder-workspace/.build/checkouts/lithium/Sources/Styling/LogFormatter.swift:13:17: error: cannot find type 'Thread' in scope
 11 |
 12 | struct LogContext {
 13 |     let thread: Thread
    |                 `- error: cannot find type 'Thread' in scope
 14 |     let file: String
 15 |     let function: String
[18/21] Compiling Lithium LogFormatter.swift
/host/spi-builder-workspace/.build/checkouts/lithium/Sources/Styling/LogFormatter.swift:13:17: error: cannot find type 'Thread' in scope
 11 |
 12 | struct LogContext {
 13 |     let thread: Thread
    |                 `- error: cannot find type 'Thread' in scope
 14 |     let file: String
 15 |     let function: String
[19/21] Compiling Lithium LithiumLogger.swift
/host/spi-builder-workspace/.build/checkouts/lithium/Sources/LithiumLogger.swift:74:42: error: cannot find 'Thread' in scope
 72 |             metadataString = metadataStringTmp
 73 |         }
 74 |         let context = LogContext(thread: Thread.current, file: file, function: function, line: line)
    |                                          `- error: cannot find 'Thread' in scope
 75 |         print(theme.formatter.parse(style: style, message: logMessage, context: context, metadata: metadataString))
 76 |     }
/host/spi-builder-workspace/.build/checkouts/lithium/Sources/Styling/LogFormatter.swift:13:17: error: cannot find type 'Thread' in scope
 11 |
 12 | struct LogContext {
 13 |     let thread: Thread
    |                 `- error: cannot find type 'Thread' in scope
 14 |     let file: String
 15 |     let function: String
[20/21] Compiling Lithium EmojiLogTheme.swift
[21/21] Compiling Lithium DefaultLogTheme.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[2/9] Compiling Dysprosium DysprosiumCompatible.swift
/host/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | // MARK: - DysprosiumObject
[3/9] Compiling Logging MetadataProvider.swift
[4/9] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module Dysprosium
/host/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | // MARK: - DysprosiumObject
[6/9] Compiling Dysprosium Dysprosium.swift
/host/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | // MARK: - DysprosiumObject
[7/9] Compiling Logging Locks.swift
[8/9] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 wasm