Build Information
Failed to build swift-sodium, reference v0.0.2 (1c76ec), with Swift 6.3 for Android on 14 Apr 2026 22:34:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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.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-1":/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-nio
[1/83146] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (10.97s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.97.1 (11.79s)
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/1820] Fetching swift-atomics
[602/25357] Fetching swift-atomics, swift-collections
[3469/30958] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
[7484/29138] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.57s)
Fetched https://github.com/apple/swift-collections.git from cache (1.61s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.71s)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.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.4.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
Building for debugging...
[0/151] Compiling aead_aegis128l.c
[1/151] Compiling aead_aegis256.c
[1/151] Compiling aegis128l_aesni.c
[3/151] Write sources
[6/151] Compiling aegis256_soft.c
[7/151] Compiling aegis128l_soft.c
[8/151] Write sources
[13/151] Compiling aead_chacha20poly1305.c
[14/151] Write sources
[19/151] Compiling _AtomicsShims.c
[20/151] Compiling version.c
[21/151] Compiling runtime.c
[22/151] Compiling codecs.c
[23/151] Compiling utils.c
[24/151] Compiling core.c
[25/151] Write swift-version--4F562202D5529B1.txt
[26/151] Compiling verify.c
[27/151] Compiling randombytes_sysrandom.c
[28/151] Compiling randombytes_internal_random.c
[29/151] Compiling stream_xsalsa20.c
[30/151] Compiling randombytes.c
[31/151] Compiling stream_xchacha20.c
[32/151] Compiling stream_salsa208.c
[33/154] Compiling stream_salsa208_ref.c
[34/162] Compiling stream_salsa2012.c
[35/175] Compiling stream_salsa2012_ref.c
[36/175] Compiling salsa20_xmm6int-avx2.c
[37/175] Compiling salsa20_xmm6int-sse2.c
[38/175] Compiling salsa20_xmm6.c
[39/175] Compiling salsa20_xmm6-asm.S
[40/175] Compiling salsa20_ref.c
[41/175] Compiling aegis128l_armcrypto.c
[42/175] Compiling stream_salsa20.c
[43/175] Compiling crypto_stream.c
[44/175] Compiling aead_aes256gcm_armcrypto.c
[45/175] Compiling chacha20_dolbeau-ssse3.c
[46/175] Compiling chacha20_dolbeau-avx2.c
[47/175] Compiling stream_chacha20.c
[48/175] Compiling sign_ed25519.c
[49/175] Compiling obsolete.c
[50/175] Compiling chacha20_ref.c
[51/175] Compiling keypair.c
[52/175] Compiling sign.c
[53/175] Compiling shorthash_siphashx24.c
[53/175] Compiling open.c
[55/175] Compiling shorthash_siphash24.c
[56/175] Compiling crypto_sign.c
[57/175] Compiling secretstream_xchacha20poly1305.c
[58/175] Compiling crypto_shorthash.c
[59/175] Compiling shorthash_siphashx24_ref.c
[60/175] Compiling secretbox_xsalsa20poly1305.c
[61/175] Compiling shorthash_siphash24_ref.c
[62/175] Compiling crypto_secretbox.c
[63/175] Compiling secretbox_xchacha20poly1305.c
[64/175] Compiling crypto_secretbox_easy.c
[65/175] Compiling scalarmult_ed25519_ref10.c
[66/175] Compiling scalarmult_ristretto255_ref10.c
[67/175] Compiling scalarmult_curve25519.c
[68/175] Compiling sandy2x.S
[69/175] Compiling ladder.S
[70/175] Compiling fe_frombytes_sandy2x.c
[71/175] Compiling fe51_pack.S
[72/175] Compiling fe51_nsquare.S
[73/175] Compiling curve25519_sandy2x.c
[74/175] Compiling fe51_invert.c
[75/175] Compiling fe51_mul.S
[76/175] Compiling consts.S
[77/175] Compiling x25519_ref10.c
[78/175] Compiling crypto_scalarmult.c
[79/175] Compiling pwhash_scryptsalsa208sha256_sse.c
[80/175] Compiling scrypt_platform.c
[81/175] Compiling pwhash_scryptsalsa208sha256.c
[82/175] Compiling pbkdf2-sha256.c
[83/175] Compiling pwhash_scryptsalsa208sha256_nosse.c
[84/175] Compiling crypto_pwhash.c
[85/175] Compiling crypto_scrypt-common.c
[86/175] Compiling pwhash_argon2id.c
[87/175] Compiling pwhash_argon2i.c
[88/175] Compiling argon2-fill-block-ssse3.c
[89/175] Compiling blake2b-long.c
[90/175] Compiling argon2.c
[91/175] Compiling argon2-fill-block-avx2.c
[91/175] Compiling argon2-fill-block-avx512f.c
[94/175] Emitting module InternalCollectionsUtilities
[94/177] Compiling argon2-encoding.c
[95/177] Compiling poly1305_sse2.c
[96/177] Compiling argon2-core.c
[97/177] Compiling onetimeauth_poly1305.c
[98/177] Compiling argon2-fill-block-ref.c
[98/177] Compiling poly1305_donna.c
[100/177] Compiling crypto_onetimeauth.c
[101/177] Compiling crypto_kdf.c
[102/177] Compiling crypto_kx.c
[103/177] Compiling kdf_hkdf_sha512.c
[104/177] Compiling kdf_hkdf_sha256.c
[105/177] Compiling kdf_blake2b.c
[106/177] Compiling hash_sha512.c
[107/177] Compiling crypto_hash.c
[107/177] Compiling hash_sha256.c
[109/177] Compiling hash_sha512_cp.c
[110/177] Compiling crypto_generichash.c
[111/177] Compiling generichash_blake2b.c
[112/177] Compiling hash_sha256_cp.c
[113/177] Compiling blake2b-ref.c
[114/177] Compiling blake2b-compress-ssse3.c
[115/177] Compiling blake2b-compress-sse41.c
[116/177] Compiling blake2b-compress-avx2.c
[117/177] Compiling softaes.c
[118/177] Compiling core_salsa_ref.c
[119/177] Compiling core_hsalsa20.c
[120/177] Compiling generichash_blake2.c
[121/177] Compiling core_hsalsa20_ref2.c
[122/177] Compiling blake2b-compress-ref.c
[123/177] Compiling core_ristretto255.c
[124/177] Compiling core_hchacha20.c
[125/177] Compiling box_curve25519xchacha20poly1305.c
[126/177] Compiling core_ed25519.c
[128/177] Emitting module _NIODataStructures
[128/177] Compiling box_seal_curve25519xchacha20poly1305.c
[129/177] Compiling box_curve25519xsalsa20poly1305.c
[130/177] Compiling crypto_box.c
[131/177] Compiling crypto_box_easy.c
[132/177] Compiling crypto_box_seal.c
[133/177] Compiling auth_hmacsha512256.c
[134/177] Compiling crypto_auth.c
[135/177] Compiling auth_hmacsha256.c
[136/177] Compiling auth_hmacsha512.c
[137/177] Compiling ed25519_ref10.c
[138/177] Compiling aead_xchacha20poly1305.c
[139/177] Compiling aead_aes256gcm.c
[140/177] Compiling aead_aes256gcm_aesni.c
[141/177] Compiling CNIOWindows shim.c
[142/177] Compiling CNIOWASI CNIOWASI.c
[143/177] Compiling CNIOWindows WSAStartup.c
[144/177] Compiling CNIOOpenBSD shim.c
[145/177] Compiling aegis256_aesni.c
[146/177] Compiling CNIOLinux liburing_shims.c
[147/177] Compiling CNIODarwin shim.c
[148/177] Write sources
[149/177] Compiling CNIOLinux shim.c
[150/177] Compiling aegis256_armcrypto.c
[151/207] Compiling c-nioatomics.c
[152/207] Compiling c-atomics.c
[154/214] 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 |
[155/214] 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 |
[156/215] Compiling Atomics AtomicOptionalWrappable.swift
[157/215] Compiling Atomics AtomicReference.swift
[158/215] Compiling Atomics OptionalRawRepresentable.swift
[159/215] Compiling Atomics RawRepresentable.swift
[160/215] Compiling Atomics AtomicBool.swift
[161/217] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[162/217] 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 |
<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 |
/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 |
[168/217] 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 |
[169/217] 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: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 |
[171/217] 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 |
/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 |
[172/217] Compiling Atomics DoubleWord.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 |
[173/217] Compiling Atomics IntegerConformances.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 |
[174/217] Compiling Atomics IntegerOperations.swift
[175/217] Compiling Atomics Unmanaged extensions.swift
[176/217] Compiling Atomics UnsafeAtomicLazyReference.swift
[177/217] Compiling Atomics AtomicInteger.swift
[178/217] Compiling Atomics UnsafeAtomic.swift
[183/217] Compiling Atomics PointerConformances.swift
[184/217] Compiling Atomics Primitives.native.swift
[185/217] Compiling Atomics ManagedAtomic.swift
[189/217] Compiling Atomics ManagedAtomicLazyReference.swift
[193/218] Emitting module _NIOBase64
[194/218] Compiling _NIOBase64 Base64.swift
[195/218] Compiling _NIODataStructures Heap.swift
[196/219] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[198/219] 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 |
[199/219] Compiling NIOConcurrencyHelpers lock.swift
[201/219] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[202/219] Compiling _NIODataStructures PriorityQueue.swift
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 android