The Swift Package Index logo.Swift Package Index

Build Information

Failed to build uxid, reference v1.0.0 (817297), with Swift 6.1 for Wasm on 27 Oct 2026 13:09:09 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/riddler/uxid-swift.git
Reference: v1.0.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/riddler/uxid-swift
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 817297b Names the default clock's stops in the 1.0.0 changelog
Cloned https://github.com/riddler/uxid-swift.git
Revision (git rev-parse @):
817297bb2847cac07e50a78bb8d44888be76337b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/riddler/uxid-swift.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/riddler/uxid-swift.git
https://github.com/riddler/uxid-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.44s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3849] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.93s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/13] Emitting module Uxid
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Uxid/Platform.swift:10:10: error: uxid reads the clock through the platform C library, which this platform lacks
 8 |   import Android
 9 | #else
10 |   #error("uxid reads the clock through the platform C library, which this platform lacks")
   |          `- error: uxid reads the clock through the platform C library, which this platform lacks
11 | #endif
12 |
[6/14] Compiling Uxid SHA256.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/14] Compiling Uxid Platform.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Uxid/Platform.swift:10:10: error: uxid reads the clock through the platform C library, which this platform lacks
 8 |   import Android
 9 | #else
10 |   #error("uxid reads the clock through the platform C library, which this platform lacks")
   |          `- error: uxid reads the clock through the platform C library, which this platform lacks
11 | #endif
12 |
/host/spi-builder-workspace/Sources/Uxid/Platform.swift:39:15: error: cannot find 'timespec' in scope
37 |   @Sendable
38 |   static func clockMilliseconds() -> UInt64 {
39 |     var now = timespec()
   |               `- error: cannot find 'timespec' in scope
40 |     let status = clock_gettime(CLOCK_REALTIME, &now)
41 |     precondition(status == 0, "clock_gettime(CLOCK_REALTIME) failed")
/host/spi-builder-workspace/Sources/Uxid/Platform.swift:40:18: error: cannot find 'clock_gettime' in scope
38 |   static func clockMilliseconds() -> UInt64 {
39 |     var now = timespec()
40 |     let status = clock_gettime(CLOCK_REALTIME, &now)
   |                  `- error: cannot find 'clock_gettime' in scope
41 |     precondition(status == 0, "clock_gettime(CLOCK_REALTIME) failed")
42 |     precondition(now.tv_sec >= 0, "the real-time clock reads before the Unix epoch")
/host/spi-builder-workspace/Sources/Uxid/Platform.swift:40:32: error: cannot find 'CLOCK_REALTIME' in scope
38 |   static func clockMilliseconds() -> UInt64 {
39 |     var now = timespec()
40 |     let status = clock_gettime(CLOCK_REALTIME, &now)
   |                                `- error: cannot find 'CLOCK_REALTIME' in scope
41 |     precondition(status == 0, "clock_gettime(CLOCK_REALTIME) failed")
42 |     precondition(now.tv_sec >= 0, "the real-time clock reads before the Unix epoch")
[8/14] Compiling Uxid Version.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/14] Compiling Uxid Error.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/14] Compiling Uxid Options.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/14] Compiling Uxid Base32.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/14] Compiling Uxid Decode.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/14] Compiling Uxid Monotonic.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/14] Compiling Uxid Generate.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/12] Emitting module Uxid
/host/spi-builder-workspace/Sources/Uxid/Platform.swift:10:10: error: uxid reads the clock through the platform C library, which this platform lacks
 8 |   import Android
 9 | #else
10 |   #error("uxid reads the clock through the platform C library, which this platform lacks")
   |          `- error: uxid reads the clock through the platform C library, which this platform lacks
11 | #endif
12 |
[5/13] Compiling Uxid Version.swift
[6/13] Compiling Uxid Generate.swift
[7/13] Compiling Uxid Monotonic.swift
[8/13] Compiling Uxid Options.swift
[9/13] Compiling Uxid SHA256.swift
[10/13] Compiling Uxid Platform.swift
/host/spi-builder-workspace/Sources/Uxid/Platform.swift:10:10: error: uxid reads the clock through the platform C library, which this platform lacks
 8 |   import Android
 9 | #else
10 |   #error("uxid reads the clock through the platform C library, which this platform lacks")
   |          `- error: uxid reads the clock through the platform C library, which this platform lacks
11 | #endif
12 |
/host/spi-builder-workspace/Sources/Uxid/Platform.swift:39:15: error: cannot find 'timespec' in scope
37 |   @Sendable
38 |   static func clockMilliseconds() -> UInt64 {
39 |     var now = timespec()
   |               `- error: cannot find 'timespec' in scope
40 |     let status = clock_gettime(CLOCK_REALTIME, &now)
41 |     precondition(status == 0, "clock_gettime(CLOCK_REALTIME) failed")
/host/spi-builder-workspace/Sources/Uxid/Platform.swift:40:18: error: cannot find 'clock_gettime' in scope
38 |   static func clockMilliseconds() -> UInt64 {
39 |     var now = timespec()
40 |     let status = clock_gettime(CLOCK_REALTIME, &now)
   |                  `- error: cannot find 'clock_gettime' in scope
41 |     precondition(status == 0, "clock_gettime(CLOCK_REALTIME) failed")
42 |     precondition(now.tv_sec >= 0, "the real-time clock reads before the Unix epoch")
/host/spi-builder-workspace/Sources/Uxid/Platform.swift:40:32: error: cannot find 'CLOCK_REALTIME' in scope
38 |   static func clockMilliseconds() -> UInt64 {
39 |     var now = timespec()
40 |     let status = clock_gettime(CLOCK_REALTIME, &now)
   |                                `- error: cannot find 'CLOCK_REALTIME' in scope
41 |     precondition(status == 0, "clock_gettime(CLOCK_REALTIME) failed")
42 |     precondition(now.tv_sec >= 0, "the real-time clock reads before the Unix epoch")
[11/13] Compiling Uxid Base32.swift
[12/13] Compiling Uxid Decode.swift
[13/13] Compiling Uxid Error.swift
BUILD FAILURE 6.1 wasm