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 master (51e350), with Swift 6.2 (beta) for Linux on 17 Jun 2025 15:09:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 51e3505 Merge pull request #158 from Bouke/endianness
Cloned https://github.com/bouke/hap.git
Revision (git rev-parse @):
51e3505a34eb842f7491fda48bb4ef873b16b68c
SUCCESS checkout https://github.com/bouke/hap.git at master
========================================
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-4606859-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/crossroadlabs/Regex.git
Fetching https://github.com/Bouke/NetService.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Bouke/SRP.git
[1/868] Fetching netservice
[28/2164] Fetching netservice, regex
[2165/2797] Fetching netservice, regex, srp
[2666/6633] Fetching netservice, regex, srp, swift-log
Fetched https://github.com/Bouke/SRP.git from cache (0.37s)
Fetched https://github.com/Bouke/NetService.git from cache (0.38s)
[1/15203] Fetching swift-crypto
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.47s)
[2738/91530] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (2.25s)
[52666/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-log.git from cache (5.56s)
Fetched https://github.com/apple/swift-nio.git from cache (5.81s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (8.74s)
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/attaswift/BigInt.git
[1/4807] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.98s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (1.59s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.60s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.99s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.96s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[1798/6225] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.53s)
[1/16606] Fetching swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.47s)
Fetched https://github.com/apple/swift-collections.git from cache (2.50s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.89s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.78s)
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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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/Bouke/SRP.git
Working copy of https://github.com/Bouke/SRP.git resolved at 3.2.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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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
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 avahi-compat-libdns_sd using your system-packager:
    apt-get install libavahi-compat-libdnssd-dev
Building for debugging...
[0/465] Write sources
[14/465] Compiling _AtomicsShims.c
[15/465] Write sources
[21/465] Compiling CNIOWindows shim.c
[22/465] Compiling CNIOWindows WSAStartup.c
[23/465] Compiling CQRCode qrcode.c
[24/465] Write swift-version-24593BA9C3E375BF.txt
[25/465] Compiling CNIOWASI CNIOWASI.c
[26/465] Compiling CNIOLinux liburing_shims.c
[27/468] Compiling x509_def.c
[28/470] Compiling x509_obj.c
[29/471] Compiling CNIOLinux shim.c
[30/471] Compiling x509_ext.c
[31/472] Compiling pcy_data.c
[32/482] Compiling x509_lu.c
[33/508] Compiling CNIOLLHTTP c_nio_llhttp.c
[34/508] Compiling CNIOLLHTTP c_nio_http.c
[35/508] Compiling CNIOLLHTTP c_nio_api.c
[36/508] Compiling CNIODarwin shim.c
[38/508] Emitting module Regex
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/509] 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
[39/509] Compiling c-nioatomics.c
[41/509] Compiling InternalCollectionsUtilities Descriptions.swift
[42/509] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[43/510] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[44/510] Compiling _NIODataStructures PriorityQueue.swift
[45/510] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[46/510] Compiling InternalCollectionsUtilities _SortedCollection.swift
[47/510] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[48/510] Compiling InternalCollectionsUtilities Debugging.swift
[49/510] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[50/510] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[51/510] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[52/510] Compiling InternalCollectionsUtilities UInt+reversed.swift
[53/510] Compiling Regex String+Regex.swift
[54/510] Emitting module InternalCollectionsUtilities
[55/510] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[56/510] Compiling InternalCollectionsUtilities Integer rank.swift
[57/510] Emitting module _NIOBase64
[58/510] Compiling _NIOBase64 Base64.swift
[60/511] Compiling _NIODataStructures _TinyArray.swift
[60/511] Wrapping AST for _NIOBase64 for debugging
[62/511] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[63/512] Compiling CCryptoBoringSSLShims shims.c
[64/512] Compiling v3_utl.c
[65/527] Wrapping AST for InternalCollectionsUtilities for debugging
[67/527] Compiling DequeModule Deque+CustomReflectable.swift
[68/527] Compiling DequeModule Deque+Descriptions.swift
[68/529] Compiling v3_skey.c
[70/529] Compiling DequeModule _DequeBuffer.swift
[71/529] Compiling DequeModule _DequeBufferHeader.swift
[71/529] Compiling c-atomics.c
[73/529] Compiling DequeModule Deque+Equatable.swift
[74/529] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[75/529] Compiling Logging MetadataProvider.swift
[76/529] Emitting module COperatingSystem
[77/529] Compiling COperatingSystem libc.swift
[79/530] Emitting module _NIODataStructures
[80/530] Compiling _NIODataStructures Heap.swift
[81/531] Compiling DequeModule Deque+Extras.swift
[82/531] Compiling DequeModule Deque+Hashable.swift
[83/531] Compiling DequeModule Deque+Testing.swift
[84/531] Compiling DequeModule Deque._Storage.swift
[86/536] 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
[87/537] 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
[88/537] 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
[88/537] Compiling v3_purp.c
[89/537] Wrapping AST for COperatingSystem for debugging
[90/537] Wrapping AST for _NIODataStructures for debugging
[91/537] Compiling v3_prn.c
[93/537] Compiling Regex Utils.swift
[94/537] Compiling Regex GroupRangeUtils.swift
[95/537] Compiling Regex Match.swift
[96/537] 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
[97/537] 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
[98/537] Compiling Regex RegexOptions.swift
[99/537] Compiling DequeModule _DequeSlot.swift
[100/537] Compiling DequeModule _UnsafeWrappedBuffer.swift
[101/537] Compiling Regex MatchSequence.swift
[102/537] Compiling Regex PlatformTypes.swift
[103/537] Compiling Regex Regex.swift
[105/538] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[106/538] Emitting module Logging
[107/538] Compiling Logging LogHandler.swift
[108/538] Compiling Logging Locks.swift
[109/538] Compiling Logging Logging.swift
[109/539] Wrapping AST for Regex for debugging
[112/539] Compiling DequeModule Deque._UnsafeHandle.swift
[113/539] Compiling DequeModule Deque.swift
[113/539] Compiling v3_pmaps.c
[114/539] Compiling v3_pcia.c
[115/539] Compiling v3_pcons.c
[116/539] Wrapping AST for Logging for debugging
[118/539] Compiling NIOConcurrencyHelpers NIOLock.swift
[118/539] Compiling v3_ocsp.c
[120/539] Compiling DequeModule Deque+Codable.swift
[121/539] Compiling DequeModule Deque+Collection.swift
[122/539] Compiling NIOConcurrencyHelpers lock.swift
[122/539] Compiling v3_pci.c
[123/539] Compiling v3_lib.c
[124/539] Compiling v3_ncons.c
[125/539] Compiling v3_int.c
[126/539] Compiling v3_info.c
[128/539] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[129/539] Emitting module DequeModule
[129/539] Compiling v3_extku.c
[131/540] Emitting module NIOConcurrencyHelpers
[133/540] Compiling NIOConcurrencyHelpers atomics.swift
[133/541] Compiling v3_enum.c
[134/541] Compiling v3_genn.c
[135/541] Compiling v3_ia5.c
[137/541] Wrapping AST for DequeModule for debugging
[138/541] Compiling v3_crld.c
[139/541] Wrapping AST for NIOConcurrencyHelpers for debugging
[140/541] Compiling v3_cpols.c
[141/541] Compiling v3_bitst.c
[142/541] Compiling v3_bcons.c
[143/541] Compiling v3_conf.c
[144/541] Compiling v3_akeya.c
[145/541] Compiling v3_alt.c
[146/541] Compiling v3_akey.c
[147/541] Compiling pcy_tree.c
[148/541] Compiling pcy_node.c
[149/541] Compiling pcy_map.c
[150/541] Compiling x_x509a.c
[151/541] Compiling pcy_lib.c
[152/541] Compiling pcy_cache.c
[153/541] Compiling x_x509.c
[154/541] Compiling x_val.c
[155/541] Compiling x_spki.c
[156/541] Compiling x_sig.c
[157/541] Compiling x_req.c
[158/541] Compiling x_pubkey.c
[159/541] Compiling x_pkey.c
[160/541] Compiling x_exten.c
[161/541] Compiling x_info.c
[162/541] Compiling x_name.c
[163/541] Compiling x_attrib.c
[164/541] Compiling x_algor.c
[165/541] Compiling x_crl.c
[166/541] Compiling x_all.c
[167/541] Compiling x509rset.c
[168/541] Compiling x509spki.c
[169/541] Compiling x509name.c
[170/541] Compiling x509cset.c
[171/541] Compiling x509_txt.c
[172/541] Compiling x509_vpm.c
[173/541] Compiling x509_set.c
[174/541] Compiling x509_v3.c
[175/541] Compiling x509_trs.c
[176/541] 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
[177/541] 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
[178/541] Compiling x509.c
[178/541] Compiling x509_att.c
[178/541] Compiling x509_cmp.c
[178/541] Compiling x509_d2.c
[178/541] Compiling t_x509a.c
[178/541] Compiling x509_req.c
[178/541] Compiling x509_vfy.c
BUILD FAILURE 6.2 linux