The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Puid, reference main (500d68), with Swift 6.2 for Wasm on 6 Sep 2025 23:57:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/puid/Swift-puid.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/puid/Swift-puid
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 500d689 Fix CI issues
Submodule path 'Tests/data': checked out '8b18c0739a04d74449de3a6c548cd3b0bd1399bc'
Submodule 'Tests/data' (https://github.com/puid/data) registered for path 'Tests/data'
Cloning into '/host/spi-builder-workspace/Tests/data'...
Cloned https://github.com/puid/Swift-puid.git
Revision (git rev-parse @):
500d68947044b284cba5dca6cef1799ed798e391
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/puid/Swift-puid.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/puid/Swift-puid.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/36] Emitting module Puid
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[4/40] Compiling Puid Bits.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[5/40] Compiling Puid Chars.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[6/40] Compiling Puid Ascii.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[7/40] Compiling Puid AsciiCode.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[8/40] Compiling Puid Encoder.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[9/40] Compiling Puid Crockford32.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[10/40] Compiling Puid CustomAscii.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[11/40] Compiling Puid CustomUtf8.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[12/40] Compiling Puid Decimal.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[13/40] Compiling Puid Hex.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[14/40] Compiling Puid PuidError.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[15/40] Compiling Puid Risk.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[16/40] Compiling Puid Settings.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[17/40] Compiling Puid Util.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[18/40] Compiling Puid AlphaCase.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[19/40] Compiling Puid AlphaNum.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[20/40] Compiling Puid AlphaNumCase.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[21/40] Compiling Puid Base32.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[22/40] Compiling Puid Base32HexCase.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[23/40] Compiling Puid Prng.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[24/40] Compiling Puid Metrics.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[25/40] Compiling Puid Puid.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[26/40] Compiling Puid PuidEntropySource.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[27/40] Compiling Puid PuidAsciiMapProtocol.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[28/40] Compiling Puid PuidEncoderProtocol.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[29/40] Compiling Puid PuidUtf8MapProtocol.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[30/40] Compiling Puid Utf8.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[31/40] Compiling Puid Alpha.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[32/40] Compiling Puid Safe32.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[33/40] Compiling Puid Safe64.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[34/40] Compiling Puid SafeAscii.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[35/40] Compiling Puid Symbol.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[36/40] Compiling Puid Entropy.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[37/40] Compiling Puid Fixed.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[38/40] Compiling Puid Source.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[39/40] Compiling Puid System.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
[40/40] Compiling Puid CSPrng.swift
/host/spi-builder-workspace/Sources/Puid/Bits.swift:7:8: error: no such module 'Foundation'
  5 | //
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | extension Puid {
BUILD FAILURE 6.2 wasm