The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyKaspa, reference 0.1.0 (415ed5), with Swift 6.2 for Android on 16 Jul 2026 14:14:55 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pichukov/swifty-kaspa.git
Reference: 0.1.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/pichukov/swifty-kaspa
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 415ed5a initial commit
Cloned https://github.com/pichukov/swifty-kaspa.git
Revision (git rev-parse @):
415ed5a115b3f3020676ce0561ab60aae3aadc8c
SUCCESS checkout https://github.com/pichukov/swifty-kaspa.git at 0.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pichukov/swifty-kaspa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:3f0849bce0d177c252f57ff0847fffe59d625aee973279c71a52a43c740d3c90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/21-DOT-DEV/swift-secp256k1.git
[1/11030] Fetching swift-secp256k1
Fetched https://github.com/21-DOT-DEV/swift-secp256k1.git from cache (1.41s)
Computing version for https://github.com/21-DOT-DEV/swift-secp256k1.git
Computed https://github.com/21-DOT-DEV/swift-secp256k1.git at 0.23.2 (1.67s)
Creating working copy for https://github.com/21-DOT-DEV/swift-secp256k1.git
Working copy of https://github.com/21-DOT-DEV/swift-secp256k1.git resolved at 0.23.2
[1/1] Compiling plugin SharedSourcesPlugin
Building for debugging...
[1/22] Write sources
[17/22] Compiling precomputed_ecmult_gen.c
[18/22] Compiling Utility.c
[19/22] Compiling secp256k1.c
[20/22] Write swift-version--11D90AFD9DD3AB2.txt
[21/30] Compiling precomputed_ecmult.c
[23/87] Compiling P256K Placeholder.swift
[24/87] Compiling P256K ASN1.swift
[25/87] Compiling P256K ASN1Any.swift
[26/87] Compiling P256K ASN1BitString.swift
[27/87] Compiling P256K ASN1Boolean.swift
[28/87] Compiling P256K ASN1Identifier.swift
[29/87] Compiling P256K ASN1Integer.swift
[30/87] Compiling P256K ASN1Null.swift
[31/87] Emitting module P256K
[32/95] Compiling P256K ASN1OctetString.swift
[33/95] Compiling P256K ASN1Strings.swift
[34/95] Compiling P256K ArraySliceBigint.swift
[35/95] Compiling P256K Combine.swift
[36/95] Compiling P256K Context.swift
[37/95] Compiling P256K CryptoKitErrors.swift
[38/95] Compiling P256K DH.swift
[39/95] Compiling P256K Digest.swift
[40/95] Compiling KaspaCore SecureBytes.swift
[41/95] Compiling KaspaCore Sompi.swift
[42/95] Compiling P256K UInt256+Arithmetic.swift
[43/95] Compiling P256K UInt256+FixedWidthInteger.swift
[44/95] Compiling P256K UInt256+Modular.swift
[45/95] Compiling P256K UInt256+Representation.swift
[46/95] Compiling P256K UInt256.swift
[47/95] Compiling P256K Utility.swift
[48/95] Compiling P256K XonlyKeyImplementation.swift
[49/95] Compiling P256K Zeroization.swift
[50/95] Compiling P256K MuSig.swift
[51/95] Compiling P256K ObjectIdentifier.swift
[52/95] Compiling P256K P256K.swift
[53/95] Compiling P256K PEMDocument.swift
[54/95] Compiling P256K PKCS8PrivateKey.swift
[55/95] Compiling P256K PrettyBytes.swift
[56/95] Compiling P256K PrivateKeyImplementation.swift
[57/95] Compiling P256K PublicKeyImplementation.swift
[58/95] Compiling P256K ECDH.swift
[59/95] Compiling P256K ECDSA+PrivateKey.swift
[60/95] Compiling P256K ECDSA+PublicKey.swift
[61/95] Compiling P256K ECDSA+Signature.swift
[62/95] Compiling P256K ECDSA+Tweak.swift
[63/95] Compiling P256K ECDSA+XonlyKey.swift
[64/95] Compiling P256K ECDSA.swift
[65/95] Compiling P256K ECDSASignature.swift
[66/95] Compiling KaspaCore Network.swift
[67/95] Compiling KaspaCore Hash32.swift
[68/95] Compiling KaspaCore DataWriter.swift
[69/95] Emitting module KaspaCore
[70/95] Compiling KaspaCore Hex.swift
[71/95] Compiling P256K EdDSA.swift
[72/95] Compiling P256K Errors.swift
[73/95] Compiling P256K GeneralizedTime.swift
[74/95] Compiling P256K HashDigest.swift
[75/95] Compiling P256K MuSig+Aggregate.swift
[76/95] Compiling P256K MuSig+Nonces.swift
[77/95] Compiling P256K MuSig+Signing.swift
[78/95] Compiling P256K MuSig+Tweak.swift
[79/95] Compiling P256K Schnorr+PublicKey.swift
[80/95] Compiling P256K Schnorr+Signature.swift
[81/95] Compiling P256K Schnorr+Tweak.swift
[82/95] Compiling P256K Schnorr+XonlyKey.swift
[83/95] Compiling P256K Schnorr.swift
[84/95] Compiling P256K SecureBytes.swift
[85/95] Compiling P256K Signature.swift
[86/95] Compiling P256K SubjectPublicKeyInfo.swift
[87/95] Compiling P256K RNG_boring.swift
[88/95] Compiling P256K Recovery+Signature.swift
[89/95] Compiling P256K Recovery.swift
[90/95] Compiling P256K SEC1PrivateKey.swift
[91/95] Compiling P256K SHA256.swift
[92/95] Compiling P256K SafeCompare.swift
[93/95] Compiling P256K Schnorr+Nonces.swift
[94/95] Compiling P256K Schnorr+PrivateKey.swift
[95/95] Compiling KaspaCore KaspaError.swift
[98/107] Compiling KaspaHashing DomainHashers.swift
/host/spi-builder-workspace/Sources/KaspaHashing/DomainHashers.swift:1:8: error: no such module 'CryptoKit'
  1 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 | import KaspaCore
error: emit-module command failed with exit code 1 (use -v to see invocation)
[99/107] Emitting module KaspaStore
/host/spi-builder-workspace/Sources/KaspaStore/EnvelopeCrypto.swift:1:8: error: no such module 'CryptoKit'
  1 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 | import KaspaCore
[100/107] Compiling KaspaStore SecureKeyStore.swift
/host/spi-builder-workspace/Sources/KaspaStore/EnvelopeCrypto.swift:1:8: error: no such module 'CryptoKit'
  1 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 | import KaspaCore
[101/107] Compiling KaspaStore EnvelopeCrypto.swift
/host/spi-builder-workspace/Sources/KaspaStore/EnvelopeCrypto.swift:1:8: error: no such module 'CryptoKit'
  1 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 | import KaspaCore
[102/107] Compiling KaspaHashing Blake3.swift
/host/spi-builder-workspace/Sources/KaspaHashing/DomainHashers.swift:1:8: error: no such module 'CryptoKit'
  1 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 | import KaspaCore
error: emit-module command failed with exit code 1 (use -v to see invocation)
[103/107] Emitting module KaspaHashing
/host/spi-builder-workspace/Sources/KaspaHashing/DomainHashers.swift:1:8: error: no such module 'CryptoKit'
  1 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 | import KaspaCore
[104/107] Compiling KaspaHashing Blake2b.swift
/host/spi-builder-workspace/Sources/KaspaHashing/DomainHashers.swift:1:8: error: no such module 'CryptoKit'
  1 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 | import KaspaCore
[105/107] Emitting module KaspaCrypto
[106/107] Compiling KaspaCrypto Ripemd160.swift
[107/107] Compiling KaspaCrypto Secp256k1.swift
/host/spi-builder-workspace/Sources/KaspaCrypto/Secp256k1.swift:89:22: error: cannot find 'SecRandomCopyBytes' in scope
 87 |         var message = Array(digest.bytes)
 88 |         var auxiliaryRand = [UInt8](repeating: 0, count: 32)
 89 |         let status = SecRandomCopyBytes(kSecRandomDefault, auxiliaryRand.count, &auxiliaryRand)
    |                      `- error: cannot find 'SecRandomCopyBytes' in scope
 90 |         guard status == errSecSuccess else {
 91 |             throw KaspaError.malformed("system randomness unavailable")
/host/spi-builder-workspace/Sources/KaspaCrypto/Secp256k1.swift:89:41: error: cannot find 'kSecRandomDefault' in scope
 87 |         var message = Array(digest.bytes)
 88 |         var auxiliaryRand = [UInt8](repeating: 0, count: 32)
 89 |         let status = SecRandomCopyBytes(kSecRandomDefault, auxiliaryRand.count, &auxiliaryRand)
    |                                         `- error: cannot find 'kSecRandomDefault' in scope
 90 |         guard status == errSecSuccess else {
 91 |             throw KaspaError.malformed("system randomness unavailable")
/host/spi-builder-workspace/Sources/KaspaCrypto/Secp256k1.swift:90:25: error: cannot find 'errSecSuccess' in scope
 88 |         var auxiliaryRand = [UInt8](repeating: 0, count: 32)
 89 |         let status = SecRandomCopyBytes(kSecRandomDefault, auxiliaryRand.count, &auxiliaryRand)
 90 |         guard status == errSecSuccess else {
    |                         `- error: cannot find 'errSecSuccess' in scope
 91 |             throw KaspaError.malformed("system randomness unavailable")
 92 |         }
BUILD FAILURE 6.2 android