Build Information
Failed to build ServerCrypto, reference 1.0.0 (4ee876
), with Swift 6.1 for Android on 30 May 2025 04:29:05 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.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/alexaubry/ServerCrypto.git
Reference: 1.0.0
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/alexaubry/ServerCrypto
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 4ee8761 Fix Linux pointer type errors
Cloned https://github.com/alexaubry/ServerCrypto.git
Revision (git rev-parse @):
4ee87617153c84d6ca2ca6e8b3181848d6b3277a
SUCCESS checkout https://github.com/alexaubry/ServerCrypto.git at 1.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/alexaubry/ServerCrypto.git
https://github.com/alexaubry/ServerCrypto.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "ctls",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/ctls"
}
],
"manifest_display_name" : "ServerCrypto",
"name" : "ServerCrypto",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CryptoSupport",
"targets" : [
"CryptoSupport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Hash",
"targets" : [
"Hash"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Signature",
"targets" : [
"Signature"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Signature",
"module_type" : "SwiftTarget",
"name" : "Signature",
"path" : "Sources/Signature",
"product_memberships" : [
"Signature"
],
"sources" : [
"AsymmetricKey.swift",
"Exports.swift",
"HMACKey.swift",
"Signer.swift"
],
"target_dependencies" : [
"CryptoSupport",
"Hash"
],
"type" : "library"
},
{
"c99name" : "ServerCryptoTests",
"module_type" : "SwiftTarget",
"name" : "ServerCryptoTests",
"path" : "Tests/ServerCryptoTests",
"sources" : [
"CryptoSupport/CryptoErrorTests.swift",
"CryptoSupport/HexTests.swift",
"Hash/HashTestData.swift",
"Hash/HashTests.swift",
"Signature/ECDSA/ECDSASignatures.swift",
"Signature/ECDSA/ECDSATests.swift",
"Signature/HMAC/HMACSignatures.swift",
"Signature/HMAC/HMACTests.swift",
"Signature/RSA/RSATestVectors.swift",
"Signature/RSA/RSATests.swift",
"Signature/SignatureTestsCoordinator.swift"
],
"target_dependencies" : [
"CryptoSupport",
"Hash",
"Signature"
],
"type" : "test"
},
{
"c99name" : "Hash",
"module_type" : "SwiftTarget",
"name" : "Hash",
"path" : "Sources/Hash",
"product_memberships" : [
"Hash",
"Signature"
],
"sources" : [
"Exports.swift",
"Hasher.swift"
],
"target_dependencies" : [
"CryptoSupport"
],
"type" : "library"
},
{
"c99name" : "CryptoSupport",
"module_type" : "SwiftTarget",
"name" : "CryptoSupport",
"path" : "Sources/CryptoSupport",
"product_memberships" : [
"CryptoSupport",
"Hash",
"Signature"
],
"sources" : [
"CryptoError.swift",
"CryptoProvider.swift",
"Hex.swift",
"Protocols.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/vapor/ctls
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls from cache (0.24s)
Computing version for https://github.com/vapor/ctls
Computed https://github.com/vapor/ctls at 1.1.3 (1.12s)
Creating working copy for https://github.com/vapor/ctls
Working copy of https://github.com/vapor/ctls resolved at 1.1.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: 'spi-builder-workspace': dependency 'ctls' is not used by any target
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module CryptoSupport
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build C module 'CTLS'
8 |
9 | /**
[6/9] Compiling CryptoSupport CryptoError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build C module 'CTLS'
8 |
9 | /**
[7/9] Compiling CryptoSupport CryptoProvider.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build C module 'CTLS'
8 |
9 | /**
[8/9] Compiling CryptoSupport Protocols.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build C module 'CTLS'
8 |
9 | /**
[9/9] Compiling CryptoSupport Hex.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build C module 'CTLS'
8 |
9 | /**
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: 'spi-builder-workspace': dependency 'ctls' is not used by any target
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling CryptoSupport Hex.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build C module 'CTLS'
8 |
9 | /**
[3/6] Compiling CryptoSupport Protocols.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build C module 'CTLS'
8 |
9 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module CryptoSupport
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build C module 'CTLS'
8 |
9 | /**
[5/6] Compiling CryptoSupport CryptoProvider.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build C module 'CTLS'
8 |
9 | /**
[6/6] Compiling CryptoSupport CryptoError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
2 | #define __COPENSSL_SHIM_H__
3 |
4 | #include <openssl/conf.h>
| `- error: 'openssl/conf.h' file not found
5 | #include <openssl/evp.h>
6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build C module 'CTLS'
5 |
6 | import Foundation
7 | import CTLS
| `- error: could not build C module 'CTLS'
8 |
9 | /**
BUILD FAILURE 6.1 android