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 Hash, reference 1.4.0 (945a78), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 15:21:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davidskrundz/hash.git
Reference: 1.4.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/davidskrundz/hash
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at 945a78a Swift 4.2
Cloned https://github.com/davidskrundz/hash.git
Revision (git rev-parse @):
945a78a4c2eff97ec09c077f1586dfaef2eb9932
SUCCESS checkout https://github.com/davidskrundz/hash.git at 1.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/davidskrundz/hash.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/DavidSkrundz/Math.git
[1/281] Fetching math
Fetched https://github.com/DavidSkrundz/Math.git from cache (0.38s)
Computing version for https://github.com/DavidSkrundz/Math.git
Computed https://github.com/DavidSkrundz/Math.git at 1.3.0 (0.75s)
Creating working copy for https://github.com/DavidSkrundz/Math.git
Working copy of https://github.com/DavidSkrundz/Math.git resolved at 1.3.0
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling Math BinaryInteger+Modulo.swift
[5/17] Compiling Math Array+BitPacking.swift
[6/17] Compiling Math BitRotate.swift
[7/17] Compiling Math Array+ByteArray.swift
[8/17] Emitting module Math
[9/17] Compiling Math BinaryInteger+BitRotate.swift
[10/17] Compiling Math FixedWidthInteger+Bytes.swift
[11/17] Compiling Math FixedWidthInteger+ModularArithmetic.swift
[12/18] Wrapping AST for Math for debugging
[14/33] Emitting module Hash
[15/34] Compiling Hash sha256.swift
[16/34] Compiling Hash sha384.swift
[17/34] Compiling Hash sha512.swift
[18/34] Compiling Hash MD5.swift
[19/34] Compiling Hash SHA0.swift
[20/34] Compiling Hash MD2.swift
[21/34] Compiling Hash MD4.swift
[22/34] Compiling Hash SHA3.swift
[23/34] Compiling Hash sha224.swift
[24/34] Compiling Hash Hashing.swift
[25/34] Compiling Hash MD.swift
[26/34] Compiling Hash SHA1.swift
[27/34] Compiling Hash SHA2.swift
[28/34] Compiling Hash ByteBuffer.swift
[29/34] Compiling Hash Hash.swift
[30/35] Wrapping AST for Hash for debugging
[31/35] Write Objects.LinkFileList
[33/35] Archiving libsHash.a
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[34/35] Linking libdHash.wasm
BUILD FAILURE 6.2 wasm