Build Information
Failed to build swift-sodium, reference v0.0.2 (1c76ec
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 22:59:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/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.2
Building package at path: $PWD
https://github.com/sinoru/swift-sodium.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/apple/swift-nio
[1/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (4.32s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (6.89s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[990/6233] Fetching swift-atomics, swift-system
[3883/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
[6124/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.55s)
Fetched https://github.com/apple/swift-collections.git from cache (2.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.12s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.61s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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
Building for debugging...
[0/149] Compiling aegis128l_armcrypto.c
[1/149] Compiling aegis256_armcrypto.c
[2/149] Write sources
[4/149] Compiling aegis256_aesni.c
[5/149] Write sources
[15/149] Compiling aead_aes256gcm_armcrypto.c
[16/149] Compiling aegis128l_aesni.c
[17/149] Compiling aead_chacha20poly1305.c
[18/149] Compiling version.c
[19/149] Compiling aegis256_soft.c
[20/149] Compiling _AtomicsShims.c
[21/149] Compiling aegis128l_soft.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.
[22/149] Compiling runtime.c
[22/149] Compiling randombytes.c
[22/149] Compiling utils.c
[22/149] Compiling codecs.c
[22/149] Compiling core.c
[22/149] Compiling randombytes_internal_random.c
[22/149] Compiling randombytes_sysrandom.c
[22/149] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm