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 open-crypto, reference 4.0.0-beta.2 (90c49b), with Swift 6.1 for Android on 27 May 2025 18:36:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/vapor/open-crypto.git
Reference: 4.0.0-beta.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/vapor/open-crypto
 * tag               4.0.0-beta.2 -> FETCH_HEAD
HEAD is now at 90c49bc beta.2 (#98)
Cloned https://github.com/vapor/open-crypto.git
Revision (git rev-parse @):
90c49bc68ee6d992fa13cf84ca8fc54b97eaf4cc
SUCCESS checkout https://github.com/vapor/open-crypto.git at 4.0.0-beta.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/open-crypto.git
https://github.com/vapor/open-crypto.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "open-crypto",
  "name" : "open-crypto",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "OpenCrypto",
      "targets" : [
        "OpenCrypto"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenCryptoTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenCryptoTests",
      "path" : "Tests/OpenCryptoTests",
      "sources" : [
        "CipherTests.swift",
        "DigestTests.swift",
        "MACTests.swift"
      ],
      "target_dependencies" : [
        "OpenCrypto"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenCrypto",
      "module_type" : "SwiftTarget",
      "name" : "OpenCrypto",
      "path" : "Sources/OpenCrypto",
      "product_memberships" : [
        "OpenCrypto"
      ],
      "sources" : [
        "AES.swift",
        "ChaChaPoly.swift",
        "Digest.swift",
        "Errors.swift",
        "Exports.swift",
        "HMAC.swift",
        "HashFunction.swift",
        "HashedAuthenticationCode.swift",
        "HexEncoding.swift",
        "Insecure.swift",
        "MD5.swift",
        "MessageAuthenticationCode.swift",
        "OpenSSLCipherFunction.swift",
        "OpenSSLHashFunction.swift",
        "SHA1.swift",
        "SHA2.swift",
        "SymmetricKey.swift",
        "Utilities.swift"
      ],
      "target_dependencies" : [
        "COpenCrypto"
      ],
      "type" : "library"
    },
    {
      "c99name" : "COpenCryptoOpenSSL",
      "module_type" : "SystemLibraryTarget",
      "name" : "COpenCryptoOpenSSL",
      "path" : "Sources/COpenCryptoOpenSSL",
      "product_memberships" : [
        "OpenCrypto"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "COpenCrypto",
      "module_type" : "ClangTarget",
      "name" : "COpenCrypto",
      "path" : "Sources/COpenCrypto",
      "product_memberships" : [
        "OpenCrypto"
      ],
      "sources" : [
        "c_open_crypto.c"
      ],
      "target_dependencies" : [
        "COpenCryptoOpenSSL"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/3] Write sources
In file included from /host/spi-builder-workspace/Sources/COpenCrypto/c_open_crypto.c:1:
/host/spi-builder-workspace/Sources/COpenCrypto/include/c_open_crypto.h:4:10: fatal error: 'openssl/conf.h' file not found
    4 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[1/3] Compiling COpenCrypto c_open_crypto.c
[1/3] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/COpenCrypto/c_open_crypto.c:1:
/host/spi-builder-workspace/Sources/COpenCrypto/include/c_open_crypto.h:4:10: fatal error: 'openssl/conf.h' file not found
    4 | #include <openssl/conf.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling COpenCrypto c_open_crypto.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android