The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HAP with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bouke/hap.git
Reference: master
Cloned https://github.com/bouke/hap.git into spi-builder-workspace
SUCCESS checkout https://github.com/bouke/hap.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Bouke/NetService.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
[1/862] Fetching netservice
[863/6859] Fetching netservice, swift-crypto
[864/9938] Fetching netservice, swift-crypto, swift-log
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/Bouke/NetService.git (1.27s)
Fetched https://github.com/apple/swift-log.git (1.27s)
Fetching https://github.com/crossroadlabs/Regex.git
Fetched https://github.com/apple/swift-crypto.git (1.28s)
Fetching https://github.com/Bouke/SRP.git
[1/633] Fetching srp
[2/1929] Fetching srp, regex
Fetched https://github.com/Bouke/SRP.git (0.50s)
Fetched https://github.com/crossroadlabs/Regex.git (0.52s)
[1/60073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.62s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.95s)
Computing version for https://github.com/Bouke/SRP.git
Computed https://github.com/Bouke/SRP.git at 3.2.1 (0.28s)
Fetching https://github.com/attaswift/BigInt.git
[1/3085] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git (0.39s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (0.27s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.25s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.27s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.54.0 (1.46s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/11270] Fetching swift-collections
[903/12315] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.81s)
Fetched https://github.com/apple/swift-collections.git (0.83s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.70s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.32s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.4
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/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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.1.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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.54.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
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/438] Compiling a_d2i_fp.c
[1/438] Compiling CQRCode qrcode.c
[2/438] Compiling a_dup.c
[3/438] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[4/438] Compiling a_bool.c
[5/438] Compiling _AtomicsShims.c
[5/438] Compiling a_gentm.c
[7/438] Compiling a_enum.c
[9/518] Emitting module Logging
[10/518] Emitting module BigInt
[11/520] Compiling Regex String+Regex.swift
[12/520] Compiling BigInt Subtraction.swift
[13/520] Compiling BigInt Words and Bits.swift
[14/520] Compiling NetService Utils.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[15/521] Compiling _NIODataStructures PriorityQueue.swift
[16/521] Compiling Atomics PointerConformances.swift
[17/521] Compiling Atomics AtomicLazyReference.swift
[18/521] Compiling Atomics HighLevelTypes.swift
[19/521] Compiling BigInt Strideable.swift
[20/521] Compiling BigInt String Conversion.swift
[21/521] Compiling BigInt Random.swift
[22/521] Compiling BigInt Shifts.swift
[23/521] Compiling BigInt Square Root.swift
[24/521] Compiling Atomics AtomicOptionalRawRepresentable.swift
[25/521] Compiling Atomics AtomicValue.swift
[26/521] Compiling Atomics DoubleWord.swift
[29/521] Compiling Atomics AtomicStrongReference.swift
[30/521] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[32/521] Compiling Atomics AtomicRawRepresentable.swift
[35/521] Compiling Atomics Unmanaged extensions.swift
[36/521] Compiling Atomics AtomicBool.swift
[37/525] Compiling BigInt Bitwise Ops.swift
[38/525] Compiling BigInt Codable.swift
[41/525] Compiling Atomics AtomicOptional.swift
[48/525] Compiling Atomics IntegerConformances.swift
[52/525] Emitting module DequeModule
[53/525] Emitting module Atomics
[60/525] Compiling NetService ServiceFlags.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[61/525] Compiling DequeModule _DequeSlot.swift
[62/525] Compiling DequeModule _UnsafeWrappedBuffer.swift
[64/527] Compiling CNIOWindows shim.c
[65/527] Wrapping AST for DequeModule for debugging
[66/527] Compiling CNIOWindows WSAStartup.c
[68/527] Compiling Regex Utils.swift
[69/527] Compiling Regex PlatformTypes.swift
[70/527] Compiling Regex Match.swift
[70/527] Compiling CNIOLinux shim.c
[72/527] Emitting module Regex
[73/527] Compiling Regex Regex.swift
[74/527] Compiling Regex RegexOptions.swift
[75/527] Compiling Regex GroupRangeUtils.swift
[75/527] Compiling CNIOLinux liburing_shims.c
[77/527] Emitting module _NIODataStructures
[78/527] Compiling _NIODataStructures Heap.swift
[79/527] Compiling NetService NetServiceBrowser.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[81/528] Compiling Regex MatchSequence.swift
[83/530] Emitting module COperatingSystem
[84/530] Compiling COperatingSystem libc.swift
[92/532] Compiling Atomics Primitives.native.swift
[98/533] Compiling Logging MetadataProvider.swift
[101/535] Compiling NetService NetServiceBrowserDelegate.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[102/535] Compiling NetService NetServiceDelegate.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[102/535] Wrapping AST for _NIODataStructures for debugging
[103/535] Compiling CNIOLLHTTP c_nio_http.c
[104/535] Wrapping AST for Regex for debugging
[105/535] Wrapping AST for COperatingSystem for debugging
[106/535] Compiling CNIODarwin shim.c
[107/535] Compiling CNIOLLHTTP c_nio_api.c
[108/535] Compiling CNIOLLHTTP c_nio_llhttp.c
[109/535] Compiling v3_skey.c
[112/535] Compiling Atomics Primitives.shims.swift
[112/535] Compiling v3_utl.c
[114/536] Compiling Logging LogHandler.swift
[115/536] Compiling Logging Locks.swift
[116/536] Compiling Logging Logging.swift
[120/539] Compiling CCryptoBoringSSLShims shims.c
[121/539] Compiling v3_purp.c
[122/539] Wrapping AST for Logging for debugging
[123/539] Compiling v3_prn.c
[124/539] Compiling v3_pmaps.c
[125/539] Compiling v3_pcons.c
[126/539] Compiling v3_pcia.c
[127/539] Compiling v3_pci.c
[128/539] Compiling v3_ocsp.c
[129/539] Compiling v3_lib.c
[130/539] Compiling v3_ncons.c
[131/539] Compiling v3_int.c
[132/539] Compiling v3_info.c
[133/539] Compiling v3_ia5.c
[134/539] Compiling v3_genn.c
[135/539] Compiling v3_extku.c
[136/539] Compiling v3_enum.c
[137/539] Compiling v3_crld.c
[138/539] Compiling v3_cpols.c
[139/539] Compiling v3_conf.c
[140/539] Compiling v3_bitst.c
[141/539] Compiling v3_bcons.c
[142/539] Compiling v3_alt.c
[143/539] Compiling v3_akeya.c
[144/539] Compiling v3_akey.c
[145/539] Compiling pcy_tree.c
[146/539] Compiling pcy_map.c
[147/539] Compiling pcy_node.c
[148/539] Compiling pcy_data.c
[149/539] Compiling pcy_lib.c
[150/539] Compiling x_x509a.c
[151/539] Compiling x_val.c
[152/539] Compiling pcy_cache.c
[153/539] Compiling x_spki.c
[154/539] Compiling x_x509.c
[155/539] Compiling x_sig.c
[156/539] Compiling x_req.c
[157/539] Compiling x_pubkey.c
[158/539] Compiling x_pkey.c
[159/539] Compiling x_info.c
[160/539] Compiling x_exten.c
[161/539] Compiling x_name.c
[162/539] Compiling x_attrib.c
[163/539] Compiling x_crl.c
[164/539] Compiling x_all.c
[165/539] Compiling x_algor.c
[166/539] Compiling x509spki.c
[167/539] Compiling x509rset.c
[168/539] Compiling x509cset.c
[169/539] Compiling x509name.c
[170/539] Compiling x509_vpm.c
[171/539] Compiling x509_txt.c
[171/539] Compiling x509_v3.c
[173/539] Compiling x509_set.c
[174/539] Compiling x509_trs.c
[175/539] Compiling x509_vfy.c
[176/539] Compiling x509_obj.c
[177/539] Compiling x509_req.c
[178/539] Compiling x509_def.c
[179/539] Compiling x509_ext.c
[179/539] Compiling x509_lu.c
[181/539] Compiling x509_d2.c
[182/539] Compiling x509_cmp.c
[183/539] Compiling x509.c
[184/539] Compiling x509_att.c
[184/539] Compiling t_x509a.c
[186/539] Compiling t_x509.c
[187/539] Compiling i2d_pr.c
[188/539] Compiling t_req.c
[189/539] Compiling t_crl.c
[190/539] Compiling rsa_pss.c
[191/539] Compiling by_file.c
[192/539] Compiling algorithm.c
[193/539] Compiling by_dir.c
[194/539] Compiling a_verify.c
[195/539] Compiling a_strex.c
[196/539] Compiling asn1_gen.c
[197/539] Compiling a_sign.c
[198/539] Compiling a_digest.c
[199/539] Compiling trust_token.c
[200/539] Compiling voprf.c
[201/539] Compiling thread_win.c
[202/539] Compiling pmbtoken.c
[203/539] Compiling thread_pthread.c
[204/539] Compiling thread.c
[204/539] Compiling thread_none.c
[206/539] Compiling stack.c
[207/539] Compiling rsa_print.c
[208/539] Compiling siphash.c
[208/539] Compiling refcount_lock.c
[210/539] Compiling refcount_c11.c
[211/539] Compiling windows.c
[212/539] Compiling rsa_asn1.c
[213/539] Compiling rc4.c
[213/539] Compiling rand_extra.c
[215/539] Compiling deterministic.c
[216/539] Compiling fuchsia.c
[217/539] Compiling passive.c
[218/539] Compiling forkunsafe.c
[219/539] Compiling pool.c
[220/539] Compiling poly1305_arm.c
[221/539] Compiling poly1305_arm_asm.S
[222/539] Compiling poly1305.c
[223/539] Compiling pkcs8.c
[224/539] Compiling p5_pbev2.c
[225/539] Compiling pkcs7_x509.c
[226/539] Compiling pkcs8_x509.c
[227/539] Compiling pkcs7.c
[228/539] Compiling pem_xaux.c
[229/539] Compiling pem_pkey.c
[229/539] Compiling pem_x509.c
[231/539] Compiling pem_pk8.c
[232/539] Compiling poly1305_vec.c
[233/539] Compiling pem_oth.c
[234/539] Compiling pem_info.c
[235/539] Compiling pem_lib.c
[236/539] Compiling obj_xref.c
[237/539] Compiling pem_all.c
[238/539] Compiling lhash.c
[238/539] Compiling mem.c
[240/539] Compiling obj.c
[241/539] Compiling hkdf.c
[242/539] Compiling poly_rq_mul.S
[243/539] Compiling x86_64-mont5.mac.x86_64.S
[244/539] Compiling hpke.c
[245/539] Compiling hrss.c
[246/539] Compiling x86_64-mont5.linux.x86_64.S
[247/539] Compiling x86_64-mont.mac.x86_64.S
[248/539] Compiling x86-mont.windows.x86.S
[249/539] Compiling x86_64-mont.linux.x86_64.S
[250/539] Compiling x86-mont.linux.x86.S
[251/539] Compiling vpaes-x86_64.mac.x86_64.S
[252/539] Compiling vpaes-x86_64.linux.x86_64.S
[253/539] Compiling vpaes-x86.windows.x86.S
[254/539] Compiling vpaes-x86.linux.x86.S
[254/539] Compiling vpaes-armv8.linux.aarch64.S
[256/539] Compiling vpaes-armv8.ios.aarch64.S
[257/539] Compiling vpaes-armv7.linux.arm.S
[258/539] Compiling vpaes-armv7.ios.arm.S
[259/539] Compiling kdf.c
[260/539] Compiling sha512-x86_64.mac.x86_64.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[262/539] Compiling NetService NetService.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[263/539] Compiling NetService FoundationCompat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[264/539] Emitting module NetService
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
error: fatalError
[264/539] Compiling sha512-armv8.linux.aarch64.S
[265/539] Compiling sha512-armv8.ios.aarch64.S
[266/539] Compiling sha512-armv4.ios.arm.S
[266/539] Compiling sha512-586.linux.x86.S
[266/539] Compiling sha512-586.windows.x86.S
[266/539] Compiling sha512-armv4.linux.arm.S
[266/539] Compiling sha512-x86_64.linux.x86_64.S
[266/539] Compiling c-atomics.c
[266/539] Compiling c-nioatomics.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 1