The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HAP, reference 0.7.0 (f0ffaa), with Swift 6.3 for Android on 10 Apr 2026 11:19:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bouke/hap.git
Reference: 0.7.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/bouke/hap
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at f0ffaa2 Changelog updated for 0.7.0
Cloned https://github.com/bouke/hap.git
Revision (git rev-parse @):
f0ffaa2f3a0cd364ade2b33263ca7a3f21ab3834
SUCCESS checkout https://github.com/bouke/hap.git at 0.7.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/bouke/hap.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/IBM-Swift/BlueCryptor.git
Fetching https://github.com/Bouke/HKDF.git
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Bouke/NetService.git
[1/1296] Fetching regex
[183/1430] Fetching regex, hkdf
[210/2298] Fetching regex, hkdf, netservice
[2299/3952] Fetching regex, hkdf, netservice, bluecryptor
[3953/10415] Fetching regex, hkdf, netservice, bluecryptor, swift-log
Fetched https://github.com/Bouke/NetService.git from cache (0.41s)
[3537/9547] Fetching regex, hkdf, bluecryptor, swift-log
Fetched https://github.com/Bouke/HKDF.git from cache (0.42s)
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.42s)
[2172/8117] Fetching bluecryptor, swift-log
Fetching https://github.com/Bouke/SRP.git
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.59s)
[5688/6463] Fetching swift-log
[6464/7096] Fetching swift-log, srp
[7097/90197] Fetching swift-log, srp, swift-nio
Fetched https://github.com/Bouke/SRP.git from cache (0.41s)
Fetched https://github.com/apple/swift-log.git from cache (0.86s)
[832/83101] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.50s)
Computing version for https://github.com/Bouke/HKDF.git
Computed https://github.com/Bouke/HKDF.git at 3.1.0 (13.20s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.48s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (0.51s)
Computing version for https://github.com/Bouke/SRP.git
Computed https://github.com/Bouke/SRP.git at 3.2.1 (0.49s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/attaswift/BigInt.git
[1/4878] Fetching bigint
[4879/22209] Fetching bigint, swift-crypto
Fetched https://github.com/attaswift/BigInt.git from cache (0.55s)
[867/17331] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.68s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (3.25s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.40s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.67s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.17s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.53s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.86s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[693/7421] Fetching swift-atomics, swift-system
[935/30946] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.69s)
[3702/25345] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.90s)
Fetched https://github.com/apple/swift-collections.git from cache (1.93s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.49s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.61s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/Bouke/SRP.git
Working copy of https://github.com/Bouke/SRP.git resolved at 3.2.1
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Bouke/NetService.git
Working copy of https://github.com/Bouke/NetService.git resolved at 0.8.1
Creating working copy for https://github.com/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.0
Creating working copy for https://github.com/Bouke/HKDF.git
Working copy of https://github.com/Bouke/HKDF.git resolved at 3.1.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
warning: you may be able to install avahi-compat-libdns_sd using your system-packager:
    apt-get install libavahi-compat-libdnssd-dev
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 libsodium using your system-packager:
    apt-get install libsodium-dev
warning: you may be able to install avahi-compat-libdns_sd using your system-packager:
    apt-get install libavahi-compat-libdnssd-dev
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 libsodium using your system-packager:
    apt-get install libsodium-dev
Building for debugging...
[0/473] Write sources
[22/473] Compiling _AtomicsShims.c
[23/473] Write sources
[24/473] Compiling CNIOWASI CNIOWASI.c
[25/473] Compiling CNIOWindows shim.c
[26/473] Write swift-version--4F562202D5529B1.txt
[27/473] Compiling CNIOWindows WSAStartup.c
[28/473] Compiling CQRCode qrcode.c
[29/473] Compiling CNIOLinux liburing_shims.c
[30/473] Compiling CNIOOpenBSD shim.c
[31/473] Compiling CNIOPosix event_loop_id.c
[32/473] Compiling CNIOLLHTTP c_nio_http.c
[33/473] Compiling CNIOLinux shim.c
[34/530] Compiling CNIOLLHTTP c_nio_llhttp.c
[36/532] Emitting module _NIOBase64
[37/532] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/534] Emitting module NetService
<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/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
  |          `- error: 'dns_sd.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
 13 | import struct Foundation.TimeInterval
 14 |
 15 | import Cdns_sd
    |        `- error: could not build C module 'Cdns_sd'
 16 |
 17 | private let _registerCallback: DNSServiceRegisterReply = { (_, flags, errorCode, name, _, _, context) in
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/534] Emitting module Cryptor
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:46:25: error: cannot find 'Status' in scope
 44 |     /// It is here to provide for engines which can fail.
 45 |     ///
 46 |     public var status = Status.success
    |                         `- error: cannot find 'Status' in scope
 47 |
 48 |     ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:189:54: error: cannot find type 'CC_LONG' in scope
187 | 	///		- byteCount:	The length of the buffer.
188 | 	///
189 |     func update(buffer: UnsafeRawPointer, byteCount: CC_LONG)
    |                                                      `- error: cannot find type 'CC_LONG' in scope
190 |
191 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:211:43: error: cannot find type 'CC_LONG' in scope
209 |     typealias Digest = UnsafeMutablePointer<UInt8>
210 |     typealias Initializer = (Context) -> (Int32)
211 |     typealias Updater = (Context, Buffer, CC_LONG) -> (Int32)
    |                                           `- error: cannot find type 'CC_LONG' in scope
212 |     typealias Finalizer = (Digest, Context) -> (Int32)
213 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:229:52: error: '@escaping' only applies to function types
227 | 	/// 	- length:		The digest length.
228 | 	///
229 | 	init(initializer: @escaping Initializer, updater: @escaping Updater, finalizer: @escaping Finalizer, length: Int32) {
    |                                                    `- error: '@escaping' only applies to function types
230 |
231 |         self.initializer = initializer
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:257:41: error: cannot find type 'CC_LONG' in scope
255 | 	///		- byteCount:	The length of the buffer.
256 | 	///
257 | 	func update(buffer: Buffer, byteCount: CC_LONG) {
    |                                         `- error: cannot find type 'CC_LONG' in scope
258 |
259 |         _ = updater(context, buffer, byteCount)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:170:38: error: cannot find type 'Status' in scope
168 |
169 |     /// Status of the calculation
170 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
171 |
172 | 	#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:175:25: error: cannot find 'Context' in scope
173 | 		private let context = HMAC_CTX_new_wrapper()
174 | 	#else
175 | 		private let context = Context.allocate(capacity: 1)
    |                         `- error: cannot find 'Context' in scope
176 | 	#endif
177 |     private var algorithm: Algorithm
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:26:30: error: cannot find type 'Status' in scope
 24 | #endif
 25 |
 26 | public typealias RNGStatus = Status
    |                              `- error: cannot find type 'Status' in scope
 27 |
 28 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
[40/535] Compiling InternalCollectionsUtilities _SortedCollection.swift
[41/535] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[42/535] Compiling NetService Utils.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/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
  |          `- error: 'dns_sd.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
 13 | import struct Foundation.TimeInterval
 14 |
 15 | import Cdns_sd
    |        `- error: could not build C module 'Cdns_sd'
 16 |
 17 | private let _registerCallback: DNSServiceRegisterReply = { (_, flags, errorCode, name, _, _, context) in
[43/535] Compiling Cryptor Crypto.swift
[44/535] Compiling Cryptor Cryptor.swift
[45/535] Compiling Cryptor Digest.swift
[46/535] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[47/535] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[48/535] Compiling InternalCollectionsUtilities Span+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/535] Emitting module COperatingSystem
/host/spi-builder-workspace/Sources/COperatingSystem/libc.swift:4:23: error: no such module 'Darwin.C'
  2 |     @_exported import Glibc
  3 | #else
  4 |     @_exported import Darwin.C
    |                       `- error: no such module 'Darwin.C'
  5 | #endif
  6 |
[50/535] Compiling COperatingSystem libc.swift
/host/spi-builder-workspace/Sources/COperatingSystem/libc.swift:4:23: error: no such module 'Darwin.C'
  2 |     @_exported import Glibc
  3 | #else
  4 |     @_exported import Darwin.C
    |                       `- error: no such module 'Darwin.C'
  5 | #endif
  6 |
[51/535] Compiling _NIOBase64 Base64.swift
[53/536] Compiling Regex String+Regex.swift
[54/537] Compiling Cryptor SSLPointerTricks.swift
[55/537] Compiling Cryptor HMAC.swift
[56/537] Compiling Cryptor KeyDerivation.swift
[57/537] Compiling Cryptor Random.swift
[58/537] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[59/537] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[60/537] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[61/537] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[62/537] Compiling InternalCollectionsUtilities String+Padding.swift
[63/537] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[64/537] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[65/537] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.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/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
  |          `- error: 'dns_sd.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:55:32: error: cannot infer contextual base in reference to member 'success'
 53 |
 54 |         _ = update(from: data.bytes, byteCount: size_t(data.length))
 55 |         return self.status == .success ? self : nil
    |                                `- error: cannot infer contextual base in reference to member 'success'
 56 |     }
 57 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:78:26: error: cannot infer contextual base in reference to member 'success'
 76 | 			}
 77 | 		#endif
 78 | 		return self.status == .success ? self : nil
    |                          `- error: cannot infer contextual base in reference to member 'success'
 79 | 	}
 80 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:91:26: error: cannot infer contextual base in reference to member 'success'
 89 |
 90 |         _ = update(from: byteArray, byteCount: size_t(byteArray.count))
 91 | 		return self.status == .success ? self : nil
    |                          `- error: cannot infer contextual base in reference to member 'success'
 92 |     }
 93 |
[66/538] Compiling _NIODataStructures PriorityQueue.swift
BUILD FAILURE 6.3 android