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 HAP, reference 0.7.0 (f0ffaa), with Swift 6.2 (beta) for Linux on 17 Jun 2025 15:10:50 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:         linux
Swift version:             6.2
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" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/Bouke/NetService.git
Fetching https://github.com/Bouke/HKDF.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/apple/swift-nio.git
[1/134] Fetching hkdf
[46/1002] Fetching hkdf, netservice
[1003/4838] Fetching hkdf, netservice, swift-log
[1310/6134] Fetching hkdf, netservice, swift-log, regex
[3949/7788] Fetching hkdf, netservice, swift-log, regex, bluecryptor
Fetched https://github.com/Bouke/HKDF.git from cache (0.43s)
Fetched https://github.com/Bouke/NetService.git from cache (0.43s)
Fetching https://github.com/Bouke/SRP.git
Fetched https://github.com/apple/swift-log.git from cache (0.43s)
[1/633] Fetching srp
Fetched https://github.com/Bouke/SRP.git from cache (0.24s)
[1/76327] Fetching swift-nio
Fetched https://github.com/crossroadlabs/Regex.git from cache (5.36s)
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (5.36s)
Fetched https://github.com/apple/swift-nio.git from cache (5.44s)
Computing version for https://github.com/Bouke/HKDF.git
Computed https://github.com/Bouke/HKDF.git at 3.1.0 (8.11s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.43s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (2.71s)
Computing version for https://github.com/Bouke/SRP.git
Computed https://github.com/Bouke/SRP.git at 3.2.1 (0.60s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/attaswift/BigInt.git
[1/4807] Fetching bigint
[2213/20010] Fetching bigint, swift-crypto
Fetched https://github.com/attaswift/BigInt.git from cache (0.74s)
[2737/15203] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.13s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (2.72s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.42s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.88s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.27s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (3.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.86s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.76s)
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/1797] Fetching swift-atomics
[1403/18403] Fetching swift-atomics, swift-collections
[2795/22831] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.83s)
Fetched https://github.com/apple/swift-system.git from cache (1.83s)
Fetched https://github.com/apple/swift-collections.git from cache (1.86s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.59s)
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/HKDF.git
Working copy of https://github.com/Bouke/HKDF.git resolved at 3.1.0
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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/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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.6.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
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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 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 libsodium using your system-packager:
    apt-get install libsodium-dev
Building for debugging...
[0/469] Write sources
[13/469] Compiling sha256-armv4.linux.arm.S
[14/469] Compiling sha256-586.windows.x86.S
[15/469] Write sources
[23/469] Compiling sha256-586.linux.x86.S
[25/469] Compiling sha256-armv8.ios.aarch64.S
[26/469] Compiling sha256-armv4.ios.arm.S
[27/469] Compiling sha1-x86_64.mac.x86_64.S
[28/469] Compiling CNIOWindows shim.c
[29/469] Compiling CNIOWindows WSAStartup.c
[30/469] Compiling _AtomicsShims.c
[31/469] Compiling CNIOWASI CNIOWASI.c
[32/469] Write swift-version-24593BA9C3E375BF.txt
[33/469] Compiling CQRCode qrcode.c
[34/469] Compiling CNIOLinux liburing_shims.c
[35/469] Compiling CNIODarwin shim.c
[36/469] Compiling CNIOLLHTTP c_nio_http.c
[37/469] Compiling CNIOLinux shim.c
[38/469] Compiling CNIOLLHTTP c_nio_api.c
[39/496] Compiling CNIOLLHTTP c_nio_llhttp.c
[41/510] Emitting module _NIODataStructures
[41/510] Compiling c-nioatomics.c
[42/521] Compiling c-atomics.c
[44/523] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[45/524] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[46/524] Compiling Cryptor KeyDerivation.swift
[47/524] Compiling Cryptor Random.swift
[48/524] Compiling InternalCollectionsUtilities Descriptions.swift
[49/524] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[50/524] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[51/524] Compiling InternalCollectionsUtilities Debugging.swift
[52/524] Compiling Regex String+Regex.swift
[53/525] Emitting module InternalCollectionsUtilities
[54/525] Compiling Cryptor Crypto.swift
[55/525] Compiling Cryptor Cryptor.swift
[56/525] Compiling Cryptor Digest.swift
[57/525] Compiling Cryptor HMAC.swift
[58/525] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[59/525] Compiling InternalCollectionsUtilities _SortedCollection.swift
[60/525] Compiling Logging LogHandler.swift
[61/526] 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
[63/526] Emitting module _NIOBase64
[64/526] Compiling _NIOBase64 Base64.swift
[66/527] Compiling _NIODataStructures PriorityQueue.swift
[67/527] Compiling _NIODataStructures _TinyArray.swift
[68/533] Compiling NetService ServiceFlags.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
[69/548] Compiling DequeModule Deque+CustomReflectable.swift
[70/548] Compiling DequeModule Deque+Descriptions.swift
[71/550] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[72/550] Compiling DequeModule _DequeBuffer.swift
[73/550] Compiling DequeModule _DequeBufferHeader.swift
[74/550] Compiling DequeModule Deque+Equatable.swift
[75/550] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[76/550] Compiling Logging MetadataProvider.swift
[77/550] Compiling Logging Locks.swift
[78/550] Compiling _NIODataStructures Heap.swift
[79/551] Emitting module COperatingSystem
[80/551] Compiling COperatingSystem libc.swift
[83/552] Compiling Regex RegexOptions.swift
[83/552] Wrapping AST for _NIOBase64 for debugging
[84/552] Wrapping AST for _NIODataStructures for debugging
[86/552] Compiling Regex Utils.swift
[87/552] Compiling NIOConcurrencyHelpers NIOLock.swift
[88/552] Compiling DequeModule Deque+Extras.swift
[89/552] Compiling DequeModule Deque+Hashable.swift
[89/552] Wrapping AST for InternalCollectionsUtilities for debugging
[90/552] Wrapping AST for COperatingSystem for debugging
[94/553] Compiling DequeModule _DequeSlot.swift
[95/553] Compiling DequeModule _UnsafeWrappedBuffer.swift
[96/553] Emitting module Regex
[97/553] Compiling Regex GroupRangeUtils.swift
[100/553] Compiling DequeModule Deque+Codable.swift
[101/553] Compiling DequeModule Deque+Collection.swift
[102/553] Emitting module Cryptor
[103/553] Compiling NetService NetServiceBrowser.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
[104/553] Compiling Cryptor Updatable.swift
[105/553] Compiling Cryptor SSLPointerTricks.swift
[106/553] Compiling Regex PlatformTypes.swift
[107/553] Compiling Regex MatchSequence.swift
[108/553] Compiling Regex Match.swift
[109/553] Compiling Regex Regex.swift
[110/554] Compiling NetService NetServiceBrowserDelegate.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
[111/554] Compiling NetService NetServiceDelegate.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
[112/554] Compiling NIOConcurrencyHelpers lock.swift
[113/554] Emitting module NIOConcurrencyHelpers
[114/554] Compiling v3_utl.c
[116/554] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[117/554] Compiling Cryptor Status.swift
[118/554] Compiling Cryptor StreamCryptor.swift
[119/554] Compiling DequeModule Deque+Testing.swift
[120/554] Compiling DequeModule Deque._Storage.swift
[121/554] Compiling DequeModule Deque._UnsafeHandle.swift
[122/554] Compiling DequeModule Deque.swift
[123/554] Compiling NIOConcurrencyHelpers atomics.swift
[126/555] Compiling CCryptoBoringSSLShims shims.c
[128/555] Emitting module Logging
[129/555] Compiling Logging Logging.swift
[129/556] Compiling v3_purp.c
[130/556] Wrapping AST for Regex for debugging
[132/556] Compiling v3_skey.c
[133/556] Wrapping AST for NIOConcurrencyHelpers for debugging
[134/556] Wrapping AST for Logging for debugging
[135/556] Compiling v3_pmaps.c
[137/556] Compiling Cryptor Utilities.swift
[138/557] Compiling v3_prn.c
[139/557] Compiling v3_pcons.c
[141/557] Emitting module DequeModule
[141/558] Compiling v3_pcia.c
[142/560] Compiling v3_pci.c
[144/560] Wrapping AST for Cryptor for debugging
[145/560] Compiling v3_ocsp.c
[146/560] Compiling v3_int.c
[147/560] Compiling v3_lib.c
[148/560] Compiling v3_ncons.c
[149/560] Compiling v3_info.c
[150/560] Compiling v3_ia5.c
[151/560] Compiling v3_genn.c
[152/560] Compiling v3_extku.c
[153/560] Wrapping AST for DequeModule for debugging
[154/560] Compiling v3_enum.c
[155/560] Compiling v3_crld.c
[156/560] Compiling v3_cpols.c
[157/560] Compiling v3_conf.c
[158/560] Compiling v3_bitst.c
[159/560] Compiling v3_bcons.c
[160/560] Compiling v3_akeya.c
[161/560] Compiling pcy_node.c
[162/560] Compiling pcy_map.c
[163/560] Compiling pcy_tree.c
[165/560] Emitting module HKDF
[166/560] Compiling HKDF HKDF.swift
[166/560] Compiling v3_alt.c
[167/560] Compiling v3_akey.c
[169/561] Compiling x_x509a.c
[170/561] Compiling pcy_data.c
[171/561] Compiling pcy_lib.c
[172/561] Wrapping AST for HKDF for debugging
[172/561] Compiling pcy_cache.c
[173/561] Compiling x_val.c
[175/561] Compiling x_x509.c
[176/561] Compiling x_sig.c
[177/561] Compiling x_pkey.c
[178/561] Compiling x_pubkey.c
[179/561] Compiling x_spki.c
[180/561] Compiling x_info.c
[181/561] Compiling x_req.c
[182/561] Compiling x_name.c
[184/561] Compiling NetService FoundationCompat.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
[185/561] Compiling NetService NetService.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[186/561] 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
[186/561] Compiling x_exten.c
[187/561] Compiling x_algor.c
[187/561] Compiling x_crl.c
[187/561] Compiling x_attrib.c
[187/561] Compiling x509spki.c
[187/561] Compiling x509name.c
[187/561] Compiling x509rset.c
[187/561] Compiling x_all.c
BUILD FAILURE 6.2 linux