The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-sodium, reference v0.0.2 (1c76ec), with Swift 6.3 for Wasm on 14 Apr 2026 22:34:26 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sinoru/swift-sodium.git
Reference: v0.0.2
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/sinoru/swift-sodium
 * tag               v0.0.2     -> FETCH_HEAD
HEAD is now at 1c76ec2 Merge branch 'release/0.0.2'
Cloned https://github.com/sinoru/swift-sodium.git
Revision (git rev-parse @):
1c76ec249bec72659723e0775d0aee32777b64ca
SUCCESS checkout https://github.com/sinoru/swift-sodium.git at v0.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/sinoru/swift-sodium.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-nio
[1/83146] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (6.05s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.97.1 (6.76s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[675/25357] Fetching swift-atomics, swift-collections
[3469/30958] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
[1883/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.77s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.57s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.97.1
Building for debugging...
[0/151] Compiling aead_aegis256.c
[1/151] Write sources
[3/151] Compiling aegis128l_aesni.c
[4/151] Compiling aegis128l_armcrypto.c
[5/151] Write sources
[6/151] Compiling aegis256_aesni.c
[7/151] Write sources
[10/151] Compiling aegis128l_soft.c
[11/151] Write sources
[14/151] Compiling aegis256_armcrypto.c
[15/151] Write sources
[19/151] Write swift-version-24593BA9C3E375BF.txt
[20/151] Compiling aegis256_soft.c
[21/151] Compiling version.c
[21/151] Compiling randombytes_sysrandom.c
[22/151] Compiling _AtomicsShims.c
/host/spi-builder-workspace/Sources/Clibsodium/sodium/runtime.c:13:11: fatal error: 'sys/auxv.h' file not found
   13 | # include <sys/auxv.h>
      |           ^~~~~~~~~~~~
1 error generated.
[24/151] Compiling runtime.c
[24/151] Compiling codecs.c
[24/151] Compiling utils.c
[24/151] Compiling core.c
[24/151] Compiling randombytes.c
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 wasm