Build Information
Failed to build rawdog, reference 17.0.0 (517bc4
), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 01:13:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/tannerdsilva/rawdog.git
Reference: 17.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/tannerdsilva/rawdog
* tag 17.0.0 -> FETCH_HEAD
HEAD is now at 517bc47 revised random byte generator variant
Cloned https://github.com/tannerdsilva/rawdog.git
Revision (git rev-parse @):
517bc47f4ca8630a945cce9820a452d03ffe5fb8
SUCCESS checkout https://github.com/tannerdsilva/rawdog.git at 17.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/tannerdsilva/rawdog.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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-syntax.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[3837/74763] Fetching swift-log, swift-syntax
Fetched https://github.com/apple/swift-log.git from cache (6.91s)
Fetched https://github.com/apple/swift-syntax.git from cache (6.96s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 601.0.1 (9.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.38s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 601.0.1
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
Building for debugging...
[0/158] Compiling __crawdog_argon2-tests argontest.c
[1/158] Compiling CRAW_base64 craw_base64.c
[3/158] Compiling CRAW __craw.c
[4/158] Compiling __crawdog_argon2-tests argontest.c
[5/158] Compiling __crawdog_sha512 crawdog_sha512.c
[6/158] Compiling __crawdog_sha256 crawdog_sha256.c
[7/158] Compiling __crawdog_hmac-tests sha1.c
[7/158] Compiling __crawdog_blake2 crawdog_blake2b-ref.c
[9/158] Compiling __crawdog_hmac-tests hmac.c
[10/158] Compiling __crawdog_poly1305 crawdog_poly1305.c
In file included from /host/spi-builder-workspace/Tests/__crawdog_hkdf-tests/hkdf-libsodium.c:4:
/host/spi-builder-workspace/Tests/__crawdog_hkdf-tests/hkdf-libsodium.h:5:10: fatal error: 'sodium.h' file not found
5 | #include <sodium.h>
| ^~~~~~~~~~
1 error generated.
[11/158] Compiling __crawdog_md5 crawdog_md5.c
[12/158] Compiling __crawdog_hkdf-tests hkdf-libsodium.c
[12/158] Compiling __crawdog_hchacha20-tests hchacha20tests.c
[12/158] Compiling __crawdog_hashing-tests __crawdog_hashtest.c
[12/158] Compiling __crawdog_endianness crawdog_endianness.c
[12/158] Compiling __crawdog_curve25519-tests curve25519_test.c
[12/158] Compiling __crawdog_hchacha20 crawdog_hchacha20.c
[12/158] Compiling __crawdog_blake2 crawdog_blake2b-ref.c
[12/158] Compiling __crawdog_sha1 crawdog_sha1.c
BUILD FAILURE 6.2 wasm