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 SubVTData, reference main (04c8c6), with Swift 6.2 (beta) for Android on 22 Jun 2025 14:02:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helikon-labs/subvt-data-swift.git
Reference: main
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/helikon-labs/subvt-data-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 04c8c60 Set max message size for ws connections.
Cloned https://github.com/helikon-labs/subvt-data-swift.git
Revision (git rev-parse @):
04c8c600b3268673dc783ebf09181b20db38cb85
SUCCESS checkout https://github.com/helikon-labs/subvt-data-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/helikon-labs/subvt-data-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/tesseract-one/Blake2.swift.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
[1/4807] Fetching bigint
[771/4948] Fetching bigint, blake2.swift
[2288/9005] Fetching bigint, blake2.swift, swiftybeaver
[2418/13918] Fetching bigint, blake2.swift, swiftybeaver, secp256k1.swift
[3441/18304] Fetching bigint, blake2.swift, swiftybeaver, secp256k1.swift, keychainaccess
Fetched https://github.com/tesseract-one/Blake2.swift.git from cache (0.51s)
[10245/18163] Fetching bigint, swiftybeaver, secp256k1.swift, keychainaccess
Fetching https://github.com/konkab/AlamofireNetworkActivityLogger.git
[18164/18483] Fetching bigint, swiftybeaver, secp256k1.swift, keychainaccess, alamofirenetworkactivitylogger
Fetching https://github.com/keefertaylor/Base58Swift.git
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (1.43s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.43s)
Fetching https://github.com/Alamofire/Alamofire.git
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (1.43s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (1.43s)
Fetched https://github.com/konkab/AlamofireNetworkActivityLogger.git from cache (0.95s)
[1/534] Fetching base58swift
[535/30675] Fetching base58swift, alamofire
Fetched https://github.com/keefertaylor/Base58Swift.git from cache (0.70s)
[603/30141] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (4.56s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.15.0 (6.70s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.85s)
Computing version for https://github.com/tesseract-one/Blake2.swift.git
Computed https://github.com/tesseract-one/Blake2.swift.git at 0.2.0 (0.83s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.87s)
Computing version for https://github.com/konkab/AlamofireNetworkActivityLogger.git
Computed https://github.com/konkab/AlamofireNetworkActivityLogger.git at 3.4.0 (0.99s)
Computing version for https://github.com/Alamofire/Alamofire.git
warning: 'alamofire': /Package.swift:30:41: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
28 | let package = Package(name: "Alamofire",
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v11),
   |                                         `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
31 |                                   .tvOS(.v11),
32 |                                   .watchOS(.v4)],
/Package.swift:31:42: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v11),
31 |                                   .tvOS(.v11),
   |                                          `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
32 |                                   .watchOS(.v4)],
33 |                       products: [.library(name: "Alamofire",
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/Alamofire/Alamofire.git at 5.8.1 (0.78s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 2.1.1 (0.88s)
Computing version for https://github.com/keefertaylor/Base58Swift.git
Computed https://github.com/keefertaylor/Base58Swift.git at 2.1.14 (0.92s)
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift.git
Working copy of https://github.com/GigaBitcoin/secp256k1.swift.git resolved at 0.15.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 2.1.1
Creating working copy for https://github.com/konkab/AlamofireNetworkActivityLogger.git
Working copy of https://github.com/konkab/AlamofireNetworkActivityLogger.git resolved at 3.4.0
Creating working copy for https://github.com/tesseract-one/Blake2.swift.git
Working copy of https://github.com/tesseract-one/Blake2.swift.git resolved at 0.2.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.8.1
Creating working copy for https://github.com/keefertaylor/Base58Swift.git
Working copy of https://github.com/keefertaylor/Base58Swift.git resolved at 2.1.14
warning: 'alamofire': /host/spi-builder-workspace/.build/checkouts/Alamofire/Package.swift:30:41: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
28 | let package = Package(name: "Alamofire",
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v11),
   |                                         `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
31 |                                   .tvOS(.v11),
32 |                                   .watchOS(.v4)],
/host/spi-builder-workspace/.build/checkouts/Alamofire/Package.swift:31:42: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v11),
31 |                                   .tvOS(.v11),
   |                                          `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
32 |                                   .watchOS(.v4)],
33 |                       products: [.library(name: "Alamofire",
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'spi-builder-workspace': Invalid Resource 'Resources/data-env.json': File not found.
Building for debugging...
[0/21] Write sources
[2/21] Copying data-env-example.json
[2/21] Write sources
[5/21] Compiling CBlake2 blake2xs-ref.c
[6/21] Compiling CBlake2 blake2xb-ref.c
[7/21] Compiling precomputed_ecmult_gen.c
[8/21] Compiling CBlake2 blake2sp-ref.c
[8/21] Write sources
[14/21] Compiling CBlake2 blake2bp-ref.c
[15/21] Compiling CBlake2 blake2s-ref.c
[16/21] Compiling Utility.c
[17/21] Compiling CBlake2 blake2b-ref.c
[18/21] Write swift-version-8C5A4AE7A8CE2BA.txt
[19/21] Compiling secp256k1.c
[20/95] Compiling precomputed_ecmult.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/132] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(OSX)
  29 | import LocalAuthentication
[23/132] Emitting module BigInt
[24/134] Emitting module secp256k1
[25/139] Compiling secp256k1 SecureBytes.swift
[26/139] Compiling secp256k1 DH.swift
[27/139] Compiling BigInt Subtraction.swift
[28/139] Compiling BigInt Words and Bits.swift
[29/139] Compiling secp256k1 Digest.swift
[30/139] Compiling secp256k1 ECDH.swift
[31/139] Compiling secp256k1 ECDSA.swift
[32/139] Compiling secp256k1 SHA256.swift
[33/139] Compiling secp256k1 SafeCompare.swift
[34/139] Compiling secp256k1 Schnorr.swift
[35/139] Compiling secp256k1 PKCS8PrivateKey.swift
[36/139] Compiling secp256k1 SEC1PrivateKey.swift
[37/139] Compiling secp256k1 Recovery.swift
[38/139] Compiling SwiftyBeaver FileDestination.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:178:27: error: cannot find 'NSFileCoordinator' in scope
176 |         #else
177 |         var success = false
178 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                           `- error: cannot find 'NSFileCoordinator' in scope
179 |         var error: NSError?
180 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/FileDestination.swift:178:60: error: 'nil' requires a contextual type
176 |         #else
177 |         var success = false
178 |         let coordinator = NSFileCoordinator(filePresenter: nil)
    |                                                            `- error: 'nil' requires a contextual type
179 |         var error: NSError?
180 |         coordinator.coordinate(writingItemAt: url, error: &error) { url in
[39/140] Compiling SwiftyBeaver GoogleCloudDestination.swift
[40/140] Compiling SwiftyBeaver Filter.swift
[43/140] Compiling secp256k1 ASN1OctetString.swift
[44/140] Compiling secp256k1 ASN1Strings.swift
[45/144] Compiling SwiftyBeaver SwiftyBeaver.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SwiftyBeaver.swift:87:28: error: cannot find '__dispatch_queue_get_label' in scope
 85 |                 return ""
 86 |             } else {
 87 |                 let name = __dispatch_queue_get_label(nil)
    |                            `- error: cannot find '__dispatch_queue_get_label' in scope
 88 |                 return String(cString: name, encoding: .utf8) ?? Thread.current.description
 89 |             }
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SwiftyBeaver.swift:87:55: error: 'nil' requires a contextual type
 85 |                 return ""
 86 |             } else {
 87 |                 let name = __dispatch_queue_get_label(nil)
    |                                                       `- error: 'nil' requires a contextual type
 88 |                 return String(cString: name, encoding: .utf8) ?? Thread.current.description
 89 |             }
[46/144] Compiling SwiftyBeaver Extensions.swift
[47/144] Compiling secp256k1 ASN1.swift
[48/144] Compiling secp256k1 ASN1Any.swift
[49/144] Compiling secp256k1 ASN1BitString.swift
[50/144] Compiling secp256k1 ASN1Boolean.swift
[51/144] Compiling secp256k1 ASN1Identifier.swift
[52/144] Compiling secp256k1 ASN1Integer.swift
[53/144] Compiling secp256k1 ObjectIdentifier.swift
[54/144] Compiling secp256k1 ECDSASignature.swift
[55/144] Compiling secp256k1 PEMDocument.swift
[63/145] Compiling Blake2 Blake2bp.swift
[64/146] Compiling secp256k1 Errors.swift
[65/146] Compiling secp256k1 Exports.swift
[66/146] Compiling Alamofire URLEncodedFormEncoder.swift
[67/146] Compiling Alamofire URLRequest+Alamofire.swift
[68/146] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[74/146] Compiling secp256k1 ArraySliceBigint.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestCompression.swift:109:44: error: value of type 'NSData' has no member 'compressed'
107 |     func deflate(_ data: Data) throws -> Data {
108 |         var output = Data([0x78, 0x5E]) // Header
109 |         try output.append((data as NSData).compressed(using: .zlib) as Data)
    |                                            `- error: value of type 'NSData' has no member 'compressed'
110 |         var checksum = adler32Checksum(of: data).bigEndian
111 |         output.append(Data(bytes: &checksum, count: MemoryLayout<UInt32>.size))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestCompression.swift:109:63: error: cannot infer contextual base in reference to member 'zlib'
107 |     func deflate(_ data: Data) throws -> Data {
108 |         var output = Data([0x78, 0x5E]) // Header
109 |         try output.append((data as NSData).compressed(using: .zlib) as Data)
    |                                                               `- error: cannot infer contextual base in reference to member 'zlib'
110 |         var checksum = adler32Checksum(of: data).bigEndian
111 |         output.append(Data(bytes: &checksum, count: MemoryLayout<UInt32>.size))
[75/146] Compiling secp256k1 GeneralizedTime.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestCompression.swift:109:44: error: value of type 'NSData' has no member 'compressed'
107 |     func deflate(_ data: Data) throws -> Data {
108 |         var output = Data([0x78, 0x5E]) // Header
109 |         try output.append((data as NSData).compressed(using: .zlib) as Data)
    |                                            `- error: value of type 'NSData' has no member 'compressed'
110 |         var checksum = adler32Checksum(of: data).bigEndian
111 |         output.append(Data(bytes: &checksum, count: MemoryLayout<UInt32>.size))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestCompression.swift:109:63: error: cannot infer contextual base in reference to member 'zlib'
107 |     func deflate(_ data: Data) throws -> Data {
108 |         var output = Data([0x78, 0x5E]) // Header
109 |         try output.append((data as NSData).compressed(using: .zlib) as Data)
    |                                                               `- error: cannot infer contextual base in reference to member 'zlib'
110 |         var checksum = adler32Checksum(of: data).bigEndian
111 |         output.append(Data(bytes: &checksum, count: MemoryLayout<UInt32>.size))
[76/146] Compiling secp256k1 SubjectPublicKeyInfo.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestCompression.swift:109:44: error: value of type 'NSData' has no member 'compressed'
107 |     func deflate(_ data: Data) throws -> Data {
108 |         var output = Data([0x78, 0x5E]) // Header
109 |         try output.append((data as NSData).compressed(using: .zlib) as Data)
    |                                            `- error: value of type 'NSData' has no member 'compressed'
110 |         var checksum = adler32Checksum(of: data).bigEndian
111 |         output.append(Data(bytes: &checksum, count: MemoryLayout<UInt32>.size))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestCompression.swift:109:63: error: cannot infer contextual base in reference to member 'zlib'
107 |     func deflate(_ data: Data) throws -> Data {
108 |         var output = Data([0x78, 0x5E]) // Header
109 |         try output.append((data as NSData).compressed(using: .zlib) as Data)
    |                                                               `- error: cannot infer contextual base in reference to member 'zlib'
110 |         var checksum = adler32Checksum(of: data).bigEndian
111 |         output.append(Data(bytes: &checksum, count: MemoryLayout<UInt32>.size))
[77/146] Compiling secp256k1 Asymmetric.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestCompression.swift:109:44: error: value of type 'NSData' has no member 'compressed'
107 |     func deflate(_ data: Data) throws -> Data {
108 |         var output = Data([0x78, 0x5E]) // Header
109 |         try output.append((data as NSData).compressed(using: .zlib) as Data)
    |                                            `- error: value of type 'NSData' has no member 'compressed'
110 |         var checksum = adler32Checksum(of: data).bigEndian
111 |         output.append(Data(bytes: &checksum, count: MemoryLayout<UInt32>.size))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestCompression.swift:109:63: error: cannot infer contextual base in reference to member 'zlib'
107 |     func deflate(_ data: Data) throws -> Data {
108 |         var output = Data([0x78, 0x5E]) // Header
109 |         try output.append((data as NSData).compressed(using: .zlib) as Data)
    |                                                               `- error: cannot infer contextual base in reference to member 'zlib'
110 |         var checksum = adler32Checksum(of: data).bigEndian
111 |         output.append(Data(bytes: &checksum, count: MemoryLayout<UInt32>.size))
[78/146] Compiling secp256k1 Combine.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestCompression.swift:109:44: error: value of type 'NSData' has no member 'compressed'
107 |     func deflate(_ data: Data) throws -> Data {
108 |         var output = Data([0x78, 0x5E]) // Header
109 |         try output.append((data as NSData).compressed(using: .zlib) as Data)
    |                                            `- error: value of type 'NSData' has no member 'compressed'
110 |         var checksum = adler32Checksum(of: data).bigEndian
111 |         output.append(Data(bytes: &checksum, count: MemoryLayout<UInt32>.size))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestCompression.swift:109:63: error: cannot infer contextual base in reference to member 'zlib'
107 |     func deflate(_ data: Data) throws -> Data {
108 |         var output = Data([0x78, 0x5E]) // Header
109 |         try output.append((data as NSData).compressed(using: .zlib) as Data)
    |                                                               `- error: cannot infer contextual base in reference to member 'zlib'
110 |         var checksum = adler32Checksum(of: data).bigEndian
111 |         output.append(Data(bytes: &checksum, count: MemoryLayout<UInt32>.size))
[79/146] Compiling SwiftyBeaver ConsoleDestination.swift
[80/146] Compiling secp256k1 Context.swift
[81/146] Compiling secp256k1 CryptoKitErrors.swift
[84/146] Compiling Blake2 Blake2s.swift
[85/146] Compiling Blake2 Blake2xs.swift
[106/146] Emitting module Alamofire
[107/146] Emitting module SwiftyBeaver
[110/146] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(OSX)
  29 | import LocalAuthentication
[111/146] Compiling Blake2 Blake2.swift
[112/146] Emitting module Blake2
[113/146] Compiling Blake2 Blake2b.swift
[114/146] Compiling Blake2 Blake2sp.swift
[115/146] Compiling Blake2 Blake2xb.swift
[116/148] Compiling Blake2 DataPtr.swift
BUILD FAILURE 6.2 android