The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NanoID, reference 0.1.0 (199928), with Swift 6.2 for Wasm on 23 Feb 2026 02:46:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShivaHuang/swift-nanoid.git
Reference: 0.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/ShivaHuang/swift-nanoid
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 199928d Run swift-format
Cloned https://github.com/ShivaHuang/swift-nanoid.git
Revision (git rev-parse @):
199928dcc703e282e47741d056df1541177f0e2d
SUCCESS checkout https://github.com/ShivaHuang/swift-nanoid.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ShivaHuang/swift-nanoid.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-dependencies
[1/886] Fetching swift-concurrency-extras
[444/7503] Fetching swift-concurrency-extras, swift-dependencies
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.26s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.38s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.82s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.11.0 (0.44s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
[1/2550] Fetching combine-schedulers
[1353/3867] Fetching combine-schedulers, swift-clocks
[3868/9585] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay
[9586/83975] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.97s)
[17195/82658] Fetching combine-schedulers, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.98s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.99s)
[9671/74390] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (9.39s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (9.82s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.1.0 (0.44s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.67s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (3.29s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.42s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (0.59s)
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.1.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.11.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.42s)
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/14] Emitting module IssueReportingPackageSupport
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:4:19: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 2 | package struct _Test {
 3 |   @usableFromInline
 4 |   package let id: AnyHashable
   |                   `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 5 |
 6 |   @usableFromInline
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:10:20: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 8 |
 9 |   @usableFromInline
10 |   package init(id: AnyHashable, traits: [any Sendable]) {
   |                    `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
11 |     self.id = id
12 |     self.traits = traits
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
[12/14] Compiling IssueReportingPackageSupport _Test.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:4:19: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 2 | package struct _Test {
 3 |   @usableFromInline
 4 |   package let id: AnyHashable
   |                   `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 5 |
 6 |   @usableFromInline
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:10:20: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 8 |
 9 |   @usableFromInline
10 |   package init(id: AnyHashable, traits: [any Sendable]) {
   |                    `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
11 |     self.id = id
12 |     self.traits = traits
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/14] Emitting module ConcurrencyExtras
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/AsyncStream.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | extension AsyncStream {
BUILD FAILURE 6.2 wasm