The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-sodium, reference develop (d43e50), with Swift 6.2 (beta) for Android on 21 Jun 2025 23:01:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: 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:         android
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
[2021/78421] Fetching swift-docc-plugin, swift-nio
Fetched https://github.com/apple/swift-docc-plugin from cache (0.69s)
[2291/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (9.25s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (13.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.98s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (0.97s)
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
[702/6233] Fetching swift-atomics, swift-system
[3972/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
[8763/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.31s)
Fetched https://github.com/apple/swift-collections.git from cache (1.34s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.88s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (3.11s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.30s)
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
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.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.2.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/151] Write sources
[14/151] Compiling version.c
[15/151] Compiling _AtomicsShims.c
[16/151] Compiling runtime.c
[17/151] Compiling randombytes_sysrandom.c
[18/151] Compiling core.c
[19/151] Compiling utils.c
[20/151] Compiling randombytes.c
[21/151] Compiling codecs.c
[22/151] Compiling aegis128l_aesni.c
[23/151] Write swift-version-8C5A4AE7A8CE2BA.txt
[24/151] Compiling verify.c
[25/151] Compiling stream_xsalsa20.c
[25/151] Compiling stream_salsa208.c
[27/151] Compiling stream_salsa208_ref.c
[28/151] Compiling stream_xchacha20.c
[29/151] Compiling stream_salsa2012_ref.c
[30/151] Compiling stream_salsa2012.c
[31/151] Compiling randombytes_internal_random.c
[32/151] Compiling salsa20_xmm6.c
[33/154] Compiling salsa20_xmm6int-avx2.c
[34/167] Compiling stream_salsa20.c
[35/167] Compiling salsa20_xmm6int-sse2.c
[36/168] Compiling crypto_stream.c
[37/171] Compiling salsa20_ref.c
[38/171] Compiling salsa20_xmm6-asm.S
[39/171] Compiling stream_chacha20.c
[40/171] Compiling chacha20_ref.c
[41/171] Compiling chacha20_dolbeau-ssse3.c
[42/171] Compiling chacha20_dolbeau-avx2.c
[43/171] Compiling sign.c
[44/171] Compiling obsolete.c
[45/171] Compiling keypair.c
[46/171] Compiling sign_ed25519.c
[47/171] Compiling open.c
[48/171] Compiling crypto_sign.c
[49/171] Compiling shorthash_siphashx24.c
[50/171] Compiling shorthash_siphashx24_ref.c
[51/171] Compiling shorthash_siphash24.c
[52/171] Compiling secretstream_xchacha20poly1305.c
[53/171] Compiling crypto_shorthash.c
[54/171] Compiling shorthash_siphash24_ref.c
[55/171] Compiling secretbox_xsalsa20poly1305.c
[56/171] Compiling crypto_secretbox.c
[57/171] Compiling crypto_secretbox_easy.c
[57/171] Compiling secretbox_xchacha20poly1305.c
[59/171] Compiling scalarmult_ristretto255_ref10.c
[60/171] Compiling scalarmult_curve25519.c
[61/171] Compiling ladder.S
[62/171] Compiling sandy2x.S
[63/171] Compiling fe51_pack.S
[64/171] Compiling fe_frombytes_sandy2x.c
[65/171] Compiling scalarmult_ed25519_ref10.c
[66/171] Compiling fe51_nsquare.S
[67/171] Compiling fe51_mul.S
[68/171] Compiling curve25519_sandy2x.c
[69/171] Compiling fe51_invert.c
[70/171] Compiling crypto_scalarmult.c
[71/171] Compiling consts.S
[72/171] Compiling pwhash_scryptsalsa208sha256_sse.c
[73/171] Compiling scrypt_platform.c
[74/171] Compiling x25519_ref10.c
[75/171] Compiling pwhash_scryptsalsa208sha256_nosse.c
[76/171] Compiling pbkdf2-sha256.c
[77/171] Compiling crypto_scrypt-common.c
[78/171] Compiling pwhash_argon2id.c
[79/171] Compiling pwhash_scryptsalsa208sha256.c
[80/171] Compiling pwhash_argon2i.c
[81/171] Compiling argon2.c
[82/171] Compiling crypto_pwhash.c
[83/171] Compiling argon2-fill-block-ssse3.c
[84/171] Compiling argon2-fill-block-avx512f.c
[85/171] Compiling argon2-fill-block-avx2.c
[86/171] Compiling argon2-fill-block-ref.c
[87/171] Compiling argon2-core.c
[88/171] Compiling blake2b-long.c
[89/171] Compiling poly1305_sse2.c
[90/171] Compiling onetimeauth_poly1305.c
[91/171] Compiling crypto_onetimeauth.c
[92/171] Compiling poly1305_donna.c
[93/171] Compiling argon2-encoding.c
[94/171] Compiling crypto_kdf.c
[95/171] Compiling kdf_hkdf_sha512.c
[96/171] Compiling kdf_hkdf_sha256.c
[97/171] Compiling crypto_kx.c
[98/171] Compiling kdf_blake2b.c
[99/171] Compiling hash_sha256.c
[100/171] Compiling hash_sha512.c
[101/171] Compiling crypto_hash.c
[102/171] Compiling crypto_generichash.c
[103/171] Compiling generichash_blake2b.c
[104/171] Compiling blake2b-ref.c
[105/171] Compiling hash_sha256_cp.c
[106/171] Compiling hash_sha512_cp.c
[107/171] Compiling blake2b-compress-ssse3.c
[108/171] Compiling blake2b-compress-sse41.c
[109/171] Compiling generichash_blake2.c
[110/171] Compiling blake2b-compress-avx2.c
[110/171] Compiling softaes.c
[112/171] Compiling core_salsa_ref.c
[113/171] Compiling core_hsalsa20.c
[114/171] Compiling core_hsalsa20_ref2.c
[115/171] Compiling core_hchacha20.c
[116/171] Compiling blake2b-compress-ref.c
[117/171] Compiling core_ristretto255.c
[118/171] Compiling box_curve25519xsalsa20poly1305.c
[119/171] Compiling core_ed25519.c
[120/171] Compiling box_seal_curve25519xchacha20poly1305.c
[121/171] Compiling crypto_box_seal.c
[122/171] Compiling box_curve25519xchacha20poly1305.c
[123/171] Compiling crypto_box.c
[124/171] Compiling crypto_box_easy.c
[125/171] Compiling auth_hmacsha512.c
[126/171] Compiling crypto_auth.c
[127/171] Compiling auth_hmacsha512256.c
[128/171] Compiling auth_hmacsha256.c
[129/171] Compiling aead_chacha20poly1305.c
[130/171] Compiling aead_xchacha20poly1305.c
[131/171] Compiling aead_aes256gcm_aesni.c
[132/171] Compiling aead_aes256gcm.c
[133/171] Compiling ed25519_ref10.c
[134/171] Compiling aegis256_soft.c
[135/171] Compiling aegis256_aesni.c
[136/171] Compiling aead_aegis256.c
[137/171] Compiling aead_aegis128l.c
[138/171] Compiling aegis128l_soft.c
[139/171] Compiling CNIOWindows shim.c
[140/171] Compiling CNIOWindows WSAStartup.c
[141/171] Compiling CNIOWASI CNIOWASI.c
[142/171] Compiling CNIOLinux liburing_shims.c
[143/171] Compiling CNIODarwin shim.c
[144/171] Compiling CNIOLinux shim.c
[145/171] Compiling aegis256_armcrypto.c
[145/171] Write sources
[147/171] Compiling aead_aes256gcm_armcrypto.c
[148/189] Compiling aegis128l_armcrypto.c
[149/201] Compiling c-nioatomics.c
[151/201] Compiling Atomics ManagedAtomic.swift
[152/201] Compiling Atomics ManagedAtomicLazyReference.swift
[153/203] Compiling SodiumCore XChaCha20Poly1305.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 |
[154/203] Compiling SodiumCore XSalsa20Poly1305.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 |
[155/203] Compiling SodiumCore AEADCipher.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 |
<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 |
[156/203] Compiling SodiumCore Cipher.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 |
<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 |
[157/204] Compiling SodiumCore Sodium+DataProtocol.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 |
[158/204] Compiling SodiumCore Sodium+DataProtocol_Base64.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 |
[159/204] 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 |
[160/204] 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 |
[161/204] Emitting module Atomics
error: emit-module command failed with exit code 1 (use -v to see invocation)
[162/204] 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 |
[163/204] Compiling SodiumCore Sodium+DataProtocol_Random.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 |
[164/204] Compiling Atomics UnsafeAtomic.swift
[165/204] Compiling Atomics UnsafeAtomicLazyReference.swift
[166/204] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[167/205] Compiling Atomics AtomicReference.swift
[168/205] Compiling Atomics AtomicStorage.swift
[169/205] Compiling Atomics AtomicValue.swift
[173/205] Compiling Atomics AtomicMemoryOrderings.swift
[174/205] Compiling Atomics DoubleWord.swift
[175/205] Compiling SodiumCore Sodium+Error.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 |
[176/205] Compiling SodiumCore Sodium.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 |
[183/205] Emitting module InternalCollectionsUtilities
[189/205] Emitting module _NIOBase64
[190/205] Compiling _NIOBase64 Base64.swift
[191/206] Compiling SodiumCore SymmetricKey.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 |
[192/206] Emitting module _NIODataStructures
[192/206] Compiling c-atomics.c
BUILD FAILURE 6.2 android