Build Information
Failed to build swift-sodium, reference develop (d43e50
), with Swift 6.1 for Wasm on 29 May 2025 15:07:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sinoru/swift-sodium.git
Reference: develop
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
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at d43e503 Add Sodium.docc
Cloned https://github.com/sinoru/swift-sodium.git
Revision (git rev-parse @):
d43e503e4bbf6ed86d64687c33cc1993228c78a6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sinoru/swift-sodium.git at develop
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/sinoru/swift-sodium.git
https://github.com/sinoru/swift-sodium.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
}
],
"manifest_display_name" : "swift-sodium",
"name" : "swift-sodium",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Sodium",
"targets" : [
"Sodium"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SodiumFoundationCompat",
"targets" : [
"SodiumFoundationCompat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SodiumNIOCompat",
"targets" : [
"SodiumNIOCompat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Clibsodium",
"targets" : [
"Clibsodium"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SodiumSecretStreamTests",
"module_type" : "SwiftTarget",
"name" : "SodiumSecretStreamTests",
"path" : "Tests/SodiumSecretStreamTests",
"sources" : [
"SecretStreamTests.swift"
],
"target_dependencies" : [
"SodiumSecretStream"
],
"type" : "test"
},
{
"c99name" : "SodiumSecretStream",
"module_type" : "SwiftTarget",
"name" : "SodiumSecretStream",
"path" : "Sources/SodiumSecretStream",
"product_memberships" : [
"Sodium",
"SodiumFoundationCompat",
"SodiumNIOCompat"
],
"sources" : [
"SecretStream.swift",
"SecretStreamCipher.swift",
"SecretStreamTag.swift",
"SecretStreamXChaCha20Poly1305.swift",
"SodiumSecretStream.swift"
],
"target_dependencies" : [
"SodiumCore"
],
"type" : "library"
},
{
"c99name" : "SodiumSecretBoxTests",
"module_type" : "SwiftTarget",
"name" : "SodiumSecretBoxTests",
"path" : "Tests/SodiumSecretBoxTests",
"sources" : [
"SecretBoxTests.swift"
],
"target_dependencies" : [
"SodiumSecretBox"
],
"type" : "test"
},
{
"c99name" : "SodiumSecretBox",
"module_type" : "SwiftTarget",
"name" : "SodiumSecretBox",
"path" : "Sources/SodiumSecretBox",
"product_memberships" : [
"Sodium",
"SodiumFoundationCompat",
"SodiumNIOCompat"
],
"sources" : [
"SecretBox.swift",
"SecretBoxCipher.swift",
"SecretBoxXChaCha20Poly1305.swift",
"SecretBoxXSalsa20Poly1305.swift",
"SodiumSecretBox.swift"
],
"target_dependencies" : [
"SodiumCore"
],
"type" : "library"
},
{
"c99name" : "SodiumNIOCompat",
"module_type" : "SwiftTarget",
"name" : "SodiumNIOCompat",
"path" : "Sources/SodiumNIOCompat",
"product_dependencies" : [
"NIOCore"
],
"product_memberships" : [
"SodiumNIOCompat"
],
"sources" : [
"ByteBufferView+Sodium.swift",
"SodiumNIOCompat.swift"
],
"target_dependencies" : [
"Sodium"
],
"type" : "library"
},
{
"c99name" : "SodiumFoundationCompat",
"module_type" : "SwiftTarget",
"name" : "SodiumFoundationCompat",
"path" : "Sources/SodiumFoundationCompat",
"product_memberships" : [
"SodiumFoundationCompat"
],
"sources" : [
"Data+Sodium.swift",
"SodiumFoundationCompat.swift"
],
"target_dependencies" : [
"Sodium"
],
"type" : "library"
},
{
"c99name" : "SodiumCoreTests",
"module_type" : "SwiftTarget",
"name" : "SodiumCoreTests",
"path" : "Tests/SodiumCoreTests",
"sources" : [
"SodiumTests+DataProtocol_Base64.swift",
"SodiumTests+DataProtocol_Random.swift",
"SodiumTests.swift"
],
"target_dependencies" : [
"SodiumCore"
],
"type" : "test"
},
{
"c99name" : "SodiumCore",
"module_type" : "SwiftTarget",
"name" : "SodiumCore",
"path" : "Sources/SodiumCore",
"product_memberships" : [
"Sodium",
"SodiumFoundationCompat",
"SodiumNIOCompat"
],
"sources" : [
"Ciphers/AEADCipher.swift",
"Ciphers/Cipher.swift",
"Ciphers/XChaCha20Poly1305.swift",
"Ciphers/XSalsa20Poly1305.swift",
"DataSize.swift",
"Sodium+Data.swift",
"Sodium+DataProtocol.swift",
"Sodium+DataProtocol_Base64.swift",
"Sodium+DataProtocol_Random.swift",
"Sodium+Error.swift",
"Sodium.swift",
"SymmetricKey.swift"
],
"target_dependencies" : [
"Clibsodium"
],
"type" : "library"
},
{
"c99name" : "Sodium",
"module_type" : "SwiftTarget",
"name" : "Sodium",
"path" : "Sources/Sodium",
"product_memberships" : [
"Sodium",
"SodiumFoundationCompat",
"SodiumNIOCompat"
],
"sources" : [
"Sodium.swift"
],
"target_dependencies" : [
"SodiumCore",
"SodiumSecretBox",
"SodiumSecretStream"
],
"type" : "library"
},
{
"c99name" : "Clibsodium",
"module_type" : "ClangTarget",
"name" : "Clibsodium",
"path" : "Sources/Clibsodium",
"product_memberships" : [
"Sodium",
"SodiumFoundationCompat",
"SodiumNIOCompat",
"Clibsodium"
],
"sources" : [
"crypto_aead/aegis128l/aead_aegis128l.c",
"crypto_aead/aegis128l/aegis128l_aesni.c",
"crypto_aead/aegis128l/aegis128l_armcrypto.c",
"crypto_aead/aegis128l/aegis128l_soft.c",
"crypto_aead/aegis256/aead_aegis256.c",
"crypto_aead/aegis256/aegis256_aesni.c",
"crypto_aead/aegis256/aegis256_armcrypto.c",
"crypto_aead/aegis256/aegis256_soft.c",
"crypto_aead/aes256gcm/aead_aes256gcm.c",
"crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c",
"crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c",
"crypto_aead/chacha20poly1305/aead_chacha20poly1305.c",
"crypto_aead/xchacha20poly1305/aead_xchacha20poly1305.c",
"crypto_auth/crypto_auth.c",
"crypto_auth/hmacsha256/auth_hmacsha256.c",
"crypto_auth/hmacsha512/auth_hmacsha512.c",
"crypto_auth/hmacsha512256/auth_hmacsha512256.c",
"crypto_box/crypto_box.c",
"crypto_box/crypto_box_easy.c",
"crypto_box/crypto_box_seal.c",
"crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c",
"crypto_box/curve25519xchacha20poly1305/box_seal_curve25519xchacha20poly1305.c",
"crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.c",
"crypto_core/ed25519/core_ed25519.c",
"crypto_core/ed25519/core_ristretto255.c",
"crypto_core/ed25519/ref10/ed25519_ref10.c",
"crypto_core/hchacha20/core_hchacha20.c",
"crypto_core/hsalsa20/core_hsalsa20.c",
"crypto_core/hsalsa20/ref2/core_hsalsa20_ref2.c",
"crypto_core/salsa/ref/core_salsa_ref.c",
"crypto_core/softaes/softaes.c",
"crypto_generichash/blake2b/generichash_blake2.c",
"crypto_generichash/blake2b/ref/blake2b-compress-avx2.c",
"crypto_generichash/blake2b/ref/blake2b-compress-ref.c",
"crypto_generichash/blake2b/ref/blake2b-compress-sse41.c",
"crypto_generichash/blake2b/ref/blake2b-compress-ssse3.c",
"crypto_generichash/blake2b/ref/blake2b-ref.c",
"crypto_generichash/blake2b/ref/generichash_blake2b.c",
"crypto_generichash/crypto_generichash.c",
"crypto_hash/crypto_hash.c",
"crypto_hash/sha256/cp/hash_sha256_cp.c",
"crypto_hash/sha256/hash_sha256.c",
"crypto_hash/sha512/cp/hash_sha512_cp.c",
"crypto_hash/sha512/hash_sha512.c",
"crypto_kdf/blake2b/kdf_blake2b.c",
"crypto_kdf/crypto_kdf.c",
"crypto_kdf/hkdf/kdf_hkdf_sha256.c",
"crypto_kdf/hkdf/kdf_hkdf_sha512.c",
"crypto_kx/crypto_kx.c",
"crypto_onetimeauth/crypto_onetimeauth.c",
"crypto_onetimeauth/poly1305/donna/poly1305_donna.c",
"crypto_onetimeauth/poly1305/onetimeauth_poly1305.c",
"crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c",
"crypto_pwhash/argon2/argon2-core.c",
"crypto_pwhash/argon2/argon2-encoding.c",
"crypto_pwhash/argon2/argon2-fill-block-avx2.c",
"crypto_pwhash/argon2/argon2-fill-block-avx512f.c",
"crypto_pwhash/argon2/argon2-fill-block-ref.c",
"crypto_pwhash/argon2/argon2-fill-block-ssse3.c",
"crypto_pwhash/argon2/argon2.c",
"crypto_pwhash/argon2/blake2b-long.c",
"crypto_pwhash/argon2/pwhash_argon2i.c",
"crypto_pwhash/argon2/pwhash_argon2id.c",
"crypto_pwhash/crypto_pwhash.c",
"crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c",
"crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c",
"crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.c",
"crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c",
"crypto_pwhash/scryptsalsa208sha256/scrypt_platform.c",
"crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c",
"crypto_scalarmult/crypto_scalarmult.c",
"crypto_scalarmult/curve25519/ref10/x25519_ref10.c",
"crypto_scalarmult/curve25519/sandy2x/consts.S",
"crypto_scalarmult/curve25519/sandy2x/curve25519_sandy2x.c",
"crypto_scalarmult/curve25519/sandy2x/fe51_invert.c",
"crypto_scalarmult/curve25519/sandy2x/fe51_mul.S",
"crypto_scalarmult/curve25519/sandy2x/fe51_nsquare.S",
"crypto_scalarmult/curve25519/sandy2x/fe51_pack.S",
"crypto_scalarmult/curve25519/sandy2x/fe_frombytes_sandy2x.c",
"crypto_scalarmult/curve25519/sandy2x/ladder.S",
"crypto_scalarmult/curve25519/sandy2x/sandy2x.S",
"crypto_scalarmult/curve25519/scalarmult_curve25519.c",
"crypto_scalarmult/ed25519/ref10/scalarmult_ed25519_ref10.c",
"crypto_scalarmult/ristretto255/ref10/scalarmult_ristretto255_ref10.c",
"crypto_secretbox/crypto_secretbox.c",
"crypto_secretbox/crypto_secretbox_easy.c",
"crypto_secretbox/xchacha20poly1305/secretbox_xchacha20poly1305.c",
"crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305.c",
"crypto_secretstream/xchacha20poly1305/secretstream_xchacha20poly1305.c",
"crypto_shorthash/crypto_shorthash.c",
"crypto_shorthash/siphash24/ref/shorthash_siphash24_ref.c",
"crypto_shorthash/siphash24/ref/shorthash_siphashx24_ref.c",
"crypto_shorthash/siphash24/shorthash_siphash24.c",
"crypto_shorthash/siphash24/shorthash_siphashx24.c",
"crypto_sign/crypto_sign.c",
"crypto_sign/ed25519/ref10/keypair.c",
"crypto_sign/ed25519/ref10/obsolete.c",
"crypto_sign/ed25519/ref10/open.c",
"crypto_sign/ed25519/ref10/sign.c",
"crypto_sign/ed25519/sign_ed25519.c",
"crypto_stream/chacha20/dolbeau/chacha20_dolbeau-avx2.c",
"crypto_stream/chacha20/dolbeau/chacha20_dolbeau-ssse3.c",
"crypto_stream/chacha20/ref/chacha20_ref.c",
"crypto_stream/chacha20/stream_chacha20.c",
"crypto_stream/crypto_stream.c",
"crypto_stream/salsa20/ref/salsa20_ref.c",
"crypto_stream/salsa20/stream_salsa20.c",
"crypto_stream/salsa20/xmm6/salsa20_xmm6-asm.S",
"crypto_stream/salsa20/xmm6/salsa20_xmm6.c",
"crypto_stream/salsa20/xmm6int/salsa20_xmm6int-avx2.c",
"crypto_stream/salsa20/xmm6int/salsa20_xmm6int-sse2.c",
"crypto_stream/salsa2012/ref/stream_salsa2012_ref.c",
"crypto_stream/salsa2012/stream_salsa2012.c",
"crypto_stream/salsa208/ref/stream_salsa208_ref.c",
"crypto_stream/salsa208/stream_salsa208.c",
"crypto_stream/xchacha20/stream_xchacha20.c",
"crypto_stream/xsalsa20/stream_xsalsa20.c",
"crypto_verify/verify.c",
"randombytes/internal/randombytes_internal_random.c",
"randombytes/randombytes.c",
"randombytes/sysrandom/randombytes_sysrandom.c",
"sodium/codecs.c",
"sodium/core.c",
"sodium/runtime.c",
"sodium/utils.c",
"sodium/version.c"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
[2050/78146] Fetching swift-docc-plugin, swift-nio
Fetched https://github.com/apple/swift-docc-plugin from cache (4.18s)
Fetched https://github.com/apple/swift-nio from cache (4.26s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (6.25s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.64s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.27s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (0.79s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
[19/18301] Fetching swift-atomics, swift-collections
[1025/22692] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
[4480/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.16s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.63s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.93s)
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/151] Compiling aegis128l_aesni.c
[3/151] Compiling aead_aegis128l.c
[3/151] Write sources
[6/151] Compiling aegis256_aesni.c
[7/151] Write sources
[17/151] Compiling aegis256_armcrypto.c
[18/151] Compiling _AtomicsShims.c
[19/151] Compiling aegis128l_armcrypto.c
[20/151] Compiling aead_aegis256.c
[21/151] Compiling version.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/151] Compiling runtime.c
[22/151] Compiling aegis128l_soft.c
[22/151] Compiling aegis256_soft.c
[22/151] Compiling codecs.c
[22/151] Compiling utils.c
[22/151] Compiling core.c
[22/151] Compiling randombytes_sysrandom.c
[22/151] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
/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.
[2/131] Compiling runtime.c
[2/131] Compiling codecs.c
[2/131] Compiling core.c
[2/131] Compiling randombytes.c
[2/131] Compiling randombytes_internal_random.c
[2/131] Compiling randombytes_sysrandom.c
[2/131] Compiling utils.c
[2/131] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm