The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-sodium, reference develop (d43e50), with Swift 6.3 for Android on 14 Apr 2026 22:35:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/sinoru/swift-sodium.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-nio
[1/2271] Fetching swift-docc-plugin
[2272/85417] Fetching swift-docc-plugin, swift-nio
Fetched https://github.com/apple/swift-docc-plugin from cache (9.79s)
Fetched https://github.com/apple/swift-nio from cache (9.91s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (13.95s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.07s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.97.1 (0.86s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1621/25357] Fetching swift-atomics, swift-collections
[2763/30958] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.62s)
[7484/29138] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.17s)
Fetched https://github.com/apple/swift-collections.git from cache (2.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.78s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.62s)
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.6
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.97.1
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/153] Compiling aead_aegis256.c
[3/153] Compiling aegis256_soft.c
[4/153] Compiling aegis256_aesni.c
[5/153] Write sources
[7/153] Write swift-version--4F562202D5529B1.txt
[9/153] Compiling aead_aegis128l.c
[10/153] Compiling aegis128l_aesni.c
[11/153] Compiling aegis256_armcrypto.c
[11/153] Compiling aegis128l_soft.c
[13/153] Compiling _AtomicsShims.c
[14/153] Write sources
[24/159] Compiling aegis128l_armcrypto.c
[25/159] Compiling version.c
[26/159] Compiling codecs.c
[27/159] Compiling runtime.c
[28/160] Compiling utils.c
[29/160] Compiling randombytes_sysrandom.c
[30/160] Compiling randombytes.c
[31/160] Compiling randombytes_internal_random.c
[32/160] Compiling stream_xsalsa20.c
[33/160] Compiling core.c
[34/160] Compiling verify.c
[35/163] Compiling stream_xchacha20.c
[36/163] Compiling stream_salsa208.c
[37/163] Compiling stream_salsa2012.c
[38/177] Compiling stream_salsa208_ref.c
[39/177] Compiling stream_salsa2012_ref.c
[40/177] Compiling salsa20_xmm6int-avx2.c
[41/177] Compiling salsa20_xmm6int-sse2.c
[42/177] Compiling salsa20_xmm6.c
[43/177] Compiling salsa20_xmm6-asm.S
[44/177] Compiling salsa20_ref.c
[45/177] Compiling crypto_stream.c
[46/177] Compiling stream_salsa20.c
[47/177] Compiling stream_chacha20.c
[48/177] Compiling chacha20_dolbeau-avx2.c
[49/177] Compiling chacha20_dolbeau-ssse3.c
[50/177] Compiling chacha20_ref.c
[51/177] Compiling sign_ed25519.c
[52/177] Compiling open.c
[52/177] Compiling sign.c
[54/177] Compiling obsolete.c
[55/177] Compiling crypto_sign.c
[56/177] Compiling shorthash_siphashx24.c
[57/177] Compiling keypair.c
[58/177] Compiling shorthash_siphash24.c
[59/177] Compiling crypto_shorthash.c
[60/177] Compiling shorthash_siphashx24_ref.c
[61/177] Compiling shorthash_siphash24_ref.c
[62/177] Compiling secretbox_xsalsa20poly1305.c
[63/177] Compiling secretstream_xchacha20poly1305.c
[64/177] Compiling crypto_secretbox.c
[65/177] Compiling scalarmult_ristretto255_ref10.c
[66/177] Compiling secretbox_xchacha20poly1305.c
[67/177] Compiling scalarmult_ed25519_ref10.c
[68/177] Compiling scalarmult_curve25519.c
[69/177] Compiling sandy2x.S
[70/177] Compiling crypto_secretbox_easy.c
[71/177] Compiling ladder.S
[72/177] Compiling fe51_nsquare.S
[73/177] Compiling fe51_mul.S
[74/177] Compiling fe_frombytes_sandy2x.c
[75/177] Compiling fe51_pack.S
[76/177] Compiling curve25519_sandy2x.c
[77/177] Compiling fe51_invert.c
[78/177] Compiling consts.S
[79/177] Compiling x25519_ref10.c
[80/177] Compiling crypto_scalarmult.c
[81/177] Compiling pwhash_scryptsalsa208sha256_sse.c
[82/177] Compiling scrypt_platform.c
[83/177] Compiling pbkdf2-sha256.c
[84/177] Compiling pwhash_scryptsalsa208sha256.c
[85/177] Compiling pwhash_scryptsalsa208sha256_nosse.c
[86/177] Compiling crypto_scrypt-common.c
[87/177] Compiling crypto_pwhash.c
[88/177] Compiling pwhash_argon2id.c
[89/177] Compiling argon2.c
[90/177] Compiling argon2-fill-block-ssse3.c
[91/177] Compiling blake2b-long.c
[92/177] Compiling pwhash_argon2i.c
[94/177] Emitting module InternalCollectionsUtilities
[94/179] Compiling argon2-fill-block-avx512f.c
[95/179] Compiling argon2-fill-block-avx2.c
[96/179] Compiling argon2-encoding.c
[97/179] Compiling poly1305_sse2.c
[98/179] Compiling poly1305_donna.c
[99/179] Compiling crypto_onetimeauth.c
[100/179] Compiling argon2-core.c
[101/179] Compiling crypto_kx.c
[102/179] Compiling onetimeauth_poly1305.c
[103/179] Compiling kdf_hkdf_sha512.c
[104/179] Compiling kdf_hkdf_sha256.c
[105/179] Compiling hash_sha512.c
[106/179] Compiling argon2-fill-block-ref.c
[107/179] Compiling hash_sha512_cp.c
[108/179] Compiling crypto_kdf.c
[109/179] Compiling kdf_blake2b.c
[110/179] Compiling hash_sha256.c
[111/179] Compiling blake2b-ref.c
[112/179] Compiling crypto_hash.c
[113/179] Compiling blake2b-compress-ssse3.c
[114/179] Compiling generichash_blake2b.c
[115/179] Compiling crypto_generichash.c
[116/179] Compiling blake2b-compress-sse41.c
[117/179] Compiling hash_sha256_cp.c
[118/179] Compiling generichash_blake2.c
[119/179] Compiling softaes.c
[120/179] Compiling blake2b-compress-avx2.c
[121/179] Compiling core_hsalsa20.c
[122/179] Compiling core_hsalsa20_ref2.c
[123/179] Compiling core_hchacha20.c
[124/179] Compiling core_salsa_ref.c
[125/179] Compiling blake2b-compress-ref.c
[126/179] Compiling core_ristretto255.c
[127/179] Compiling box_seal_curve25519xchacha20poly1305.c
[128/179] Compiling core_ed25519.c
[129/179] Compiling crypto_box_seal.c
[130/179] Compiling box_curve25519xsalsa20poly1305.c
[131/179] Compiling crypto_box.c
[132/179] Compiling box_curve25519xchacha20poly1305.c
[133/179] Compiling auth_hmacsha512256.c
[134/179] Compiling crypto_box_easy.c
[135/179] Compiling auth_hmacsha512.c
[136/179] Compiling auth_hmacsha256.c
[137/179] Compiling crypto_auth.c
[138/179] Compiling aead_xchacha20poly1305.c
[139/179] Compiling aead_chacha20poly1305.c
[140/179] Compiling aead_aes256gcm.c
[141/179] Compiling aead_aes256gcm_aesni.c
[142/179] Compiling CNIOWindows shim.c
[143/179] Compiling CNIOWindows WSAStartup.c
[144/179] Compiling CNIOWASI CNIOWASI.c
[145/179] Compiling ed25519_ref10.c
[146/179] Compiling CNIOLinux liburing_shims.c
[147/179] Compiling CNIOOpenBSD shim.c
[148/179] Compiling CNIODarwin shim.c
[149/179] Compiling CNIOLinux shim.c
[150/179] Compiling aead_aes256gcm_armcrypto.c
[151/179] Write sources
[152/209] Compiling c-nioatomics.c
[153/209] Compiling c-atomics.c
[155/216] Emitting module Atomics
[156/218] Compiling Atomics Primitives.native.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/218] Compiling Atomics AtomicStorage.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 |
[158/219] Compiling Atomics IntegerConformances.swift
[159/219] Compiling Atomics PointerConformances.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[161/219] 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 |
/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:17:8: error: Unknown platform
 15 | import ucrt
 16 | #else
 17 | #error("Unknown platform")
    |        `- error: Unknown platform
 18 | #endif
 19 |
[164/219] Compiling Atomics AtomicValue.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 |
[165/219] Compiling Atomics AtomicMemoryOrderings.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 |
[168/219] Compiling Atomics UnsafeAtomic.swift
[169/219] Compiling Atomics UnsafeAtomicLazyReference.swift
[170/219] Compiling Atomics ManagedAtomic.swift
[171/219] Compiling Atomics ManagedAtomicLazyReference.swift
[173/219] Compiling Atomics DoubleWord.swift
[174/219] Compiling Atomics OptionalRawRepresentable.swift
[175/219] Compiling Atomics RawRepresentable.swift
[176/219] Compiling Atomics AtomicBool.swift
[177/219] Compiling Atomics AtomicInteger.swift
[178/219] Compiling Atomics AtomicOptionalWrappable.swift
[179/219] Compiling Atomics AtomicReference.swift
[182/219] 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 |
[183/219] 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 |
[189/219] 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 |
/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:17:8: error: Unknown platform
 15 | import ucrt
 16 | #else
 17 | #error("Unknown platform")
    |        `- error: Unknown platform
 18 | #endif
 19 |
[194/219] Compiling Atomics IntegerOperations.swift
[195/219] Compiling Atomics Unmanaged extensions.swift
[201/220] 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 |
[205/220] Compiling NIOConcurrencyHelpers NIOLock.swift
[206/220] Compiling _NIODataStructures PriorityQueue.swift
[207/220] Compiling _NIODataStructures Heap.swift
[208/220] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
BUILD FAILURE 6.3 android