Build Information
Failed to build swift-sodium, reference v0.0.2 (1c76ec
), with Swift 6.1 for Android on 29 May 2025 15:06:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: 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: android
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-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.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-nio
[1/76097] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (4.59s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (7.23s)
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/1710] Fetching swift-atomics
[1660/6101] Fetching swift-atomics, swift-system
[3336/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.22s)
Fetched https://github.com/apple/swift-system.git from cache (1.22s)
Fetched https://github.com/apple/swift-collections.git from cache (1.26s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.90s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.71s)
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-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.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.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
Building for debugging...
[0/149] Compiling scrypt_platform.c
[1/149] Compiling aead_aegis128l.c
[1/149] Write sources
[4/149] Compiling aegis128l_aesni.c
[5/149] Write sources
[15/149] Compiling fe51_mul.S
[16/149] Compiling _AtomicsShims.c
[17/149] Compiling aegis128l_soft.c
[18/149] Compiling fe51_nsquare.S
[18/149] Compiling pwhash_scryptsalsa208sha256.c
[20/149] Compiling version.c
[21/149] Compiling utils.c
[22/149] Compiling runtime.c
[23/149] Compiling core.c
[24/149] Compiling randombytes.c
[25/149] Compiling codecs.c
[26/149] Compiling verify.c
[27/149] Compiling randombytes_sysrandom.c
[28/149] Compiling stream_salsa208.c
[29/149] Compiling stream_xsalsa20.c
[30/149] Compiling stream_xchacha20.c
[31/149] Write swift-version-24593BA9C3E375BF.txt
[32/149] Compiling stream_salsa208_ref.c
[33/149] Compiling aegis128l_armcrypto.c
[34/149] Compiling stream_salsa2012.c
[34/149] Compiling randombytes_internal_random.c
[36/149] Compiling stream_salsa2012_ref.c
[36/149] Compiling salsa20_xmm6int-avx2.c
[36/149] Compiling salsa20_xmm6.c
[39/149] Compiling salsa20_xmm6int-sse2.c
[40/149] Compiling salsa20_ref.c
[41/149] Compiling stream_salsa20.c
[42/149] Compiling salsa20_xmm6-asm.S
[43/149] Compiling crypto_stream.c
[44/149] Compiling chacha20_dolbeau-ssse3.c
[45/150] Compiling stream_chacha20.c
[46/153] Compiling chacha20_ref.c
[47/153] Compiling chacha20_dolbeau-avx2.c
[48/154] Compiling sign_ed25519.c
[49/158] Compiling open.c
[50/166] Compiling sign.c
[51/169] Compiling shorthash_siphashx24.c
[52/169] Compiling shorthash_siphash24.c
[53/169] Compiling shorthash_siphashx24_ref.c
[54/169] Compiling keypair.c
[55/169] Compiling crypto_sign.c
[56/169] Compiling obsolete.c
[57/169] Compiling crypto_shorthash.c
[58/169] Compiling secretbox_xchacha20poly1305.c
[59/169] Compiling shorthash_siphash24_ref.c
[60/169] Compiling secretbox_xsalsa20poly1305.c
[61/169] Compiling crypto_secretbox.c
[62/169] Compiling secretstream_xchacha20poly1305.c
[63/169] Compiling crypto_secretbox_easy.c
[64/169] Compiling scalarmult_ristretto255_ref10.c
[65/169] Compiling scalarmult_ed25519_ref10.c
[66/169] Compiling scalarmult_curve25519.c
[67/169] Compiling fe_frombytes_sandy2x.c
[68/169] Compiling sandy2x.S
[69/169] Compiling ladder.S
[70/169] Compiling fe51_pack.S
[71/169] Compiling curve25519_sandy2x.c
[72/169] Compiling fe51_invert.c
[73/169] Compiling crypto_scalarmult.c
[74/169] Compiling x25519_ref10.c
[75/169] Compiling pwhash_scryptsalsa208sha256_sse.c
[76/169] Compiling consts.S
[77/169] Compiling pbkdf2-sha256.c
[78/169] Compiling crypto_pwhash.c
[79/169] Compiling pwhash_scryptsalsa208sha256_nosse.c
[80/169] Compiling crypto_scrypt-common.c
[81/169] Compiling blake2b-long.c
[81/169] Compiling pwhash_argon2id.c
[83/169] Compiling argon2-fill-block-ssse3.c
[84/169] Compiling pwhash_argon2i.c
[85/169] Compiling argon2.c
[86/169] Compiling argon2-fill-block-avx2.c
[87/169] Compiling argon2-fill-block-avx512f.c
[88/169] Compiling argon2-encoding.c
[88/169] Compiling onetimeauth_poly1305.c
[90/169] Compiling poly1305_sse2.c
[91/169] Compiling argon2-core.c
[92/169] Compiling crypto_onetimeauth.c
[92/169] Compiling argon2-fill-block-ref.c
[94/169] Compiling poly1305_donna.c
[95/169] Compiling crypto_kx.c
[96/169] Compiling kdf_hkdf_sha512.c
[97/169] Compiling crypto_kdf.c
[98/169] Compiling kdf_hkdf_sha256.c
[99/169] Compiling hash_sha512.c
[100/169] Compiling kdf_blake2b.c
[101/169] Compiling hash_sha256.c
[102/169] Compiling crypto_hash.c
[103/169] Compiling crypto_generichash.c
[104/169] Compiling hash_sha512_cp.c
[105/169] Compiling generichash_blake2b.c
[106/169] Compiling blake2b-compress-ssse3.c
[107/169] Compiling blake2b-ref.c
[108/169] Compiling blake2b-compress-sse41.c
[108/169] Compiling hash_sha256_cp.c
[110/169] Compiling blake2b-compress-avx2.c
[111/169] Compiling generichash_blake2.c
[112/169] Compiling softaes.c
[113/169] Compiling core_salsa_ref.c
[114/169] Compiling core_hsalsa20.c
[115/169] Compiling core_hsalsa20_ref2.c
[116/169] Compiling core_hchacha20.c
[116/169] Compiling blake2b-compress-ref.c
[118/169] Compiling box_curve25519xsalsa20poly1305.c
[120/169] Emitting module _NIODataStructures
[120/169] Compiling core_ed25519.c
[121/169] Compiling core_ristretto255.c
[122/169] Compiling ed25519_ref10.c
[123/169] Compiling box_seal_curve25519xchacha20poly1305.c
[124/169] Compiling box_curve25519xchacha20poly1305.c
[125/169] Compiling crypto_box.c
[125/169] Compiling crypto_box_seal.c
[127/169] Compiling crypto_box_easy.c
[128/169] Compiling auth_hmacsha512256.c
[129/169] Compiling auth_hmacsha512.c
[130/169] Compiling auth_hmacsha256.c
[131/169] Compiling crypto_auth.c
[132/169] Compiling aead_xchacha20poly1305.c
[133/169] Compiling aead_chacha20poly1305.c
[134/169] Compiling aead_aes256gcm_aesni.c
[135/169] Compiling aead_aes256gcm.c
[136/169] Compiling aegis256_aesni.c
[137/169] Compiling aegis256_soft.c
[138/169] Compiling CNIOWindows shim.c
[139/169] Compiling aead_aegis256.c
[140/169] Compiling CNIOWindows WSAStartup.c
[141/169] Compiling CNIOWASI CNIOWASI.c
[142/169] Compiling CNIOLinux liburing_shims.c
[143/169] Compiling CNIODarwin shim.c
[144/169] Compiling CNIOLinux shim.c
[145/169] Write sources
[146/169] Compiling aegis256_armcrypto.c
[147/173] Compiling aead_aes256gcm_armcrypto.c
[149/200] Compiling SodiumCore DataSize.swift
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:17:8: error: Unknown platform
15 | import ucrt
16 | #else
17 | #error("Unknown platform")
| `- error: Unknown platform
18 | #endif
19 |
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:21:43: error: cannot find 'CHAR_BIT' in scope
19 |
20 | public struct DataSize: Equatable, Hashable, Sendable {
21 | private static let charBit: Int = Int(CHAR_BIT)
| `- error: cannot find 'CHAR_BIT' in scope
22 | public private(set) var rawValue: UInt16
23 |
[150/200] Compiling SodiumCore Sodium+Data.swift
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:17:8: error: Unknown platform
15 | import ucrt
16 | #else
17 | #error("Unknown platform")
| `- error: Unknown platform
18 | #endif
19 |
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:21:43: error: cannot find 'CHAR_BIT' in scope
19 |
20 | public struct DataSize: Equatable, Hashable, Sendable {
21 | private static let charBit: Int = Int(CHAR_BIT)
| `- error: cannot find 'CHAR_BIT' in scope
22 | public private(set) var rawValue: UInt16
23 |
[151/201] Compiling SodiumCore Sodium+DataProtocol_Random.swift
[152/201] Compiling SodiumCore XChaCha20Poly1305.swift
[153/201] Compiling SodiumCore XSalsa20Poly1305.swift
[154/201] Compiling _NIODataStructures _TinyArray.swift
[155/201] Compiling _NIODataStructures PriorityQueue.swift
[156/201] Compiling SodiumCore Sodium+Error.swift
[157/201] Compiling SodiumCore Sodium.swift
[158/201] Compiling SodiumCore SymmetricKey.swift
[159/201] Compiling Atomics ManagedAtomic.swift
[160/201] Compiling Atomics ManagedAtomicLazyReference.swift
[161/201] Compiling Atomics UnsafeAtomic.swift
[162/201] Compiling Atomics UnsafeAtomicLazyReference.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[163/201] Emitting module SodiumCore
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:17:8: error: Unknown platform
15 | import ucrt
16 | #else
17 | #error("Unknown platform")
| `- error: Unknown platform
18 | #endif
19 |
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:21:43: error: cannot find 'CHAR_BIT' in scope
19 |
20 | public struct DataSize: Equatable, Hashable, Sendable {
21 | private static let charBit: Int = Int(CHAR_BIT)
| `- error: cannot find 'CHAR_BIT' in scope
22 | public private(set) var rawValue: UInt16
23 |
[164/201] Compiling SodiumCore AEADCipher.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sodium.h"
| `- note: in file included from <module-includes>:1:
2 |
[165/201] Compiling SodiumCore Cipher.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sodium.h"
| `- note: in file included from <module-includes>:1:
2 |
[166/201] Compiling Atomics AtomicOptionalWrappable.swift
[167/201] Compiling Atomics AtomicReference.swift
[170/204] Compiling Atomics AtomicStorage.swift
[171/204] Compiling Atomics AtomicValue.swift
[172/204] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[175/204] Compiling SodiumCore Sodium+DataProtocol.swift
[176/204] Compiling SodiumCore Sodium+DataProtocol_Base64.swift
[177/204] Emitting module _NIOBase64
[178/204] Compiling _NIOBase64 Base64.swift
[179/204] Emitting module InternalCollectionsUtilities
[184/205] Compiling Atomics AtomicMemoryOrderings.swift
[185/205] Compiling Atomics DoubleWord.swift
[191/205] Compiling c-nioatomics.c
[191/205] Compiling c-atomics.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/3] Write swift-version-24593BA9C3E375BF.txt
[2/54] Compiling Atomics IntegerConformances.swift
[3/54] Compiling Atomics PointerConformances.swift
[4/55] Compiling SodiumCore Sodium.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/55] Emitting module SodiumCore
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:17:8: error: Unknown platform
15 | import ucrt
16 | #else
17 | #error("Unknown platform")
| `- error: Unknown platform
18 | #endif
19 |
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:21:43: error: cannot find 'CHAR_BIT' in scope
19 |
20 | public struct DataSize: Equatable, Hashable, Sendable {
21 | private static let charBit: Int = Int(CHAR_BIT)
| `- error: cannot find 'CHAR_BIT' in scope
22 | public private(set) var rawValue: UInt16
23 |
[6/55] Compiling SodiumCore SymmetricKey.swift
[7/55] Compiling SodiumCore Sodium+DataProtocol_Random.swift
[8/55] Compiling SodiumCore Sodium+Error.swift
[9/55] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[10/56] Compiling Atomics Primitives.shims.swift
[11/56] Compiling Atomics AtomicInteger.swift
[12/56] Compiling Atomics AtomicOptionalWrappable.swift
[13/56] Compiling Atomics AtomicReference.swift
[14/56] Compiling Atomics Primitives.native.swift
[15/56] Compiling Atomics OptionalRawRepresentable.swift
[16/56] Compiling Atomics AtomicMemoryOrderings.swift
[17/56] Compiling Atomics DoubleWord.swift
[18/56] Compiling Atomics RawRepresentable.swift
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:17:8: error: Unknown platform
15 | import ucrt
16 | #else
17 | #error("Unknown platform")
| `- error: Unknown platform
18 | #endif
19 |
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:21:43: error: cannot find 'CHAR_BIT' in scope
19 |
20 | public struct DataSize: Equatable, Hashable, Sendable {
21 | private static let charBit: Int = Int(CHAR_BIT)
| `- error: cannot find 'CHAR_BIT' in scope
22 | public private(set) var rawValue: UInt16
23 |
[19/56] Compiling Atomics AtomicBool.swift
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:17:8: error: Unknown platform
15 | import ucrt
16 | #else
17 | #error("Unknown platform")
| `- error: Unknown platform
18 | #endif
19 |
/host/spi-builder-workspace/Sources/SodiumCore/DataSize.swift:21:43: error: cannot find 'CHAR_BIT' in scope
19 |
20 | public struct DataSize: Equatable, Hashable, Sendable {
21 | private static let charBit: Int = Int(CHAR_BIT)
| `- error: cannot find 'CHAR_BIT' in scope
22 | public private(set) var rawValue: UInt16
23 |
[19/56] Compiling c-nioatomics.c
[19/56] Compiling c-atomics.c
BUILD FAILURE 6.1 android