Build Information
Failed to build SwiftCrypto, reference 1.0.3 (2ebc58), with Swift 6.3 for Android on 10 Apr 2026 10:04:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jernejstrasner/swiftcrypto.git
Reference: 1.0.3
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/jernejstrasner/swiftcrypto
* tag 1.0.3 -> FETCH_HEAD
HEAD is now at 2ebc58f Added method for providing Data keys directly
Cloned https://github.com/jernejstrasner/swiftcrypto.git
Revision (git rev-parse @):
2ebc58fa75de1c7d4ef884c609a81398c01655d7
SUCCESS checkout https://github.com/jernejstrasner/swiftcrypto.git at 1.0.3
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/jernejstrasner/swiftcrypto.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/jernejstrasner/CCommonCrypto.git
[1/28] Fetching ccommoncrypto
Fetched https://github.com/jernejstrasner/CCommonCrypto.git from cache (1.02s)
Computing version for https://github.com/jernejstrasner/CCommonCrypto.git
Computed https://github.com/jernejstrasner/CCommonCrypto.git at 1.1.0 (1.89s)
Creating working copy for https://github.com/jernejstrasner/CCommonCrypto.git
Working copy of https://github.com/jernejstrasner/CCommonCrypto.git resolved at 1.1.0
warning: 'ccommoncrypto': ignoring declared target(s) 'CCommonCrypto' in the system package
warning: 'spi-builder-workspace': dependency 'ccommoncrypto' is not used by any target
Building for debugging...
[0/2] Write sources
[0/2] Write swift-version--4F562202D5529B1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SwiftCrypto
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CommonCrypto/CommonCrypto.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CCommonCrypto/CommonCrypto/CommonCrypto.h:27:10: error: 'CommonCrypto/CommonCryptor.h' file not found
25 | #define __COMMONCRYPTO_PUBLIC__
26 |
27 | #include <CommonCrypto/CommonCryptor.h>
| `- error: 'CommonCrypto/CommonCryptor.h' file not found
28 | #include <CommonCrypto/CommonDigest.h>
29 | #include <CommonCrypto/CommonHMAC.h>
/host/spi-builder-workspace/Sources/SwiftCrypto/SwiftCrypto.swift:24:8: error: could not build C module 'CCommonCrypto'
22 |
23 | import Foundation
24 | import CCommonCrypto
| `- error: could not build C module 'CCommonCrypto'
25 |
26 | public enum Algorithm {
[4/4] Compiling SwiftCrypto SwiftCrypto.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CommonCrypto/CommonCrypto.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/CCommonCrypto/CommonCrypto/CommonCrypto.h:27:10: error: 'CommonCrypto/CommonCryptor.h' file not found
25 | #define __COMMONCRYPTO_PUBLIC__
26 |
27 | #include <CommonCrypto/CommonCryptor.h>
| `- error: 'CommonCrypto/CommonCryptor.h' file not found
28 | #include <CommonCrypto/CommonDigest.h>
29 | #include <CommonCrypto/CommonHMAC.h>
/host/spi-builder-workspace/Sources/SwiftCrypto/SwiftCrypto.swift:24:8: error: could not build C module 'CCommonCrypto'
22 |
23 | import Foundation
24 | import CCommonCrypto
| `- error: could not build C module 'CCommonCrypto'
25 |
26 | public enum Algorithm {
BUILD FAILURE 6.3 android