Build Information
Failed to build HAP with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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: 5.10
Building package at path: $workDir
https://github.com/bouke/hap.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Bouke/NetService.git
Fetching https://github.com/Bouke/SRP.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/633] Fetching srp
[634/1495] Fetching srp, netservice
[1022/2791] Fetching srp, netservice, regex
[2792/5950] Fetching srp, netservice, regex, swift-log
[3772/13340] Fetching srp, netservice, regex, swift-log, swift-crypto
Fetched https://github.com/Bouke/NetService.git from cache (0.58s)
[4659/12478] Fetching srp, regex, swift-log, swift-crypto
[6832/76917] Fetching srp, regex, swift-log, swift-crypto, swift-nio
Fetched https://github.com/crossroadlabs/Regex.git from cache (2.37s)
Fetched https://github.com/Bouke/SRP.git from cache (2.38s)
[26628/74988] Fetching swift-log, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (8.43s)
Fetched https://github.com/apple/swift-crypto.git from cache (8.47s)
Fetched https://github.com/apple/swift-nio.git from cache (8.61s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (2.32s)
Computing version for https://github.com/Bouke/SRP.git
Computed https://github.com/Bouke/SRP.git at 3.2.1 (0.74s)
Fetching https://github.com/attaswift/BigInt.git
[1/3097] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.63s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (0.81s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.64s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (3.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.63.0 (0.75s)
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/1563] Fetching swift-atomics
[439/4546] Fetching swift-atomics, swift-system
[4547/18292] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
[4450/15309] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.18s)
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.94s)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.1
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.63.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.1.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.4
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/464] Write sources
[14/464] Compiling p256-x86_64-asm.mac.x86_64.S
[15/464] Write sources
[18/464] Compiling CQRCode qrcode.c
[19/464] Write sources
[24/464] Compiling bn-586.linux.x86.S
[25/464] Compiling a_bool.c
[26/464] Compiling _AtomicsShims.c
[27/464] Compiling a_bitstr.c
[28/464] Compiling armv8-mont.linux.aarch64.S
[29/464] Compiling CNIOWindows shim.c
[30/464] Compiling CNIOWindows WSAStartup.c
[31/464] Compiling CNIODarwin shim.c
[31/464] Compiling CNIOLinux liburing_shims.c
[33/464] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:203:9: warning: 'RENAME_NOREPLACE' macro redefined [-Wmacro-redefined]
#define RENAME_NOREPLACE 1
^
/usr/include/stdio.h:164:10: note: previous definition is here
# define RENAME_NOREPLACE (1 << 0)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:204:9: warning: 'RENAME_EXCHANGE' macro redefined [-Wmacro-redefined]
#define RENAME_EXCHANGE 2
^
/usr/include/stdio.h:165:10: note: previous definition is here
# define RENAME_EXCHANGE (1 << 1)
^
2 warnings generated.
[34/464] Compiling CNIOLinux shim.c
[35/464] Compiling CNIOLLHTTP c_nio_http.c
[36/464] Compiling CNIOLLHTTP c_nio_api.c
[37/487] Compiling CNIOLLHTTP c_nio_llhttp.c
[38/495] Compiling CCryptoBoringSSLShims shims.c
[39/498] Compiling hrss.c
[40/508] Compiling c-nioatomics.c
[42/510] Emitting module COperatingSystem
[42/510] Compiling c-atomics.c
[44/510] Emitting module Regex
[45/517] Emitting module _CollectionsUtilities
[46/519] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[47/519] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[48/519] Compiling Regex String+Regex.swift
[49/519] 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
^
[50/519] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[51/519] Compiling _CollectionsUtilities Specialize.swift
[52/519] Compiling _CollectionsUtilities _SortedCollection.swift
[53/519] Compiling _CollectionsUtilities _UniqueCollection.swift
[54/519] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[55/519] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[56/519] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
[57/519] Compiling _CollectionsUtilities UInt+reversed.swift
[58/519] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[59/519] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[60/519] Compiling _CollectionsUtilities Integer rank.swift
[61/519] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[62/519] Compiling _CollectionsUtilities Debugging.swift
[63/519] Compiling _CollectionsUtilities Descriptions.swift
[64/519] Emitting module _NIOBase64
[65/519] Compiling _NIOBase64 Base64.swift
[67/520] Compiling _NIODataStructures PriorityQueue.swift
[68/520] Compiling _NIODataStructures _TinyArray.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/520] 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
^
[70/520] 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
^
[71/520] 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
^
[72/520] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[73/520] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[75/561] Compiling Atomics ManagedAtomic.swift
[76/561] Compiling Atomics ManagedAtomicLazyReference.swift
[77/561] Compiling Atomics UnsafeAtomic.swift
[78/561] Compiling Atomics UnsafeAtomicLazyReference.swift
[79/563] Compiling Atomics AtomicMemoryOrderings.swift
[80/563] Compiling Atomics DoubleWord.swift
[81/563] Compiling Atomics IntegerOperations.swift
[82/563] Compiling Atomics Unmanaged extensions.swift
[85/565] Compiling Atomics AtomicReference.swift
[88/565] Compiling Regex GroupRangeUtils.swift
[89/565] Compiling Regex Utils.swift
[90/565] Compiling Regex PlatformTypes.swift
[91/565] Compiling Logging MetadataProvider.swift
[92/565] 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
^
[93/565] Compiling Regex MatchSequence.swift
[94/565] Compiling Regex Match.swift
[95/565] Emitting module Logging
[96/565] Compiling Regex Regex.swift
[97/565] Compiling Regex RegexOptions.swift
[98/565] Compiling Logging Locks.swift
[100/566] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[101/566] Compiling NIOConcurrencyHelpers atomics.swift
[103/566] Compiling Atomics AtomicStorage.swift
[104/566] Compiling Atomics AtomicValue.swift
[105/566] 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
^
[106/566] 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
^
[107/566] Compiling Atomics Primitives.shims.swift
[108/566] Compiling Atomics AtomicInteger.swift
[109/566] Compiling Atomics AtomicOptionalWrappable.swift
[116/566] Compiling NIOConcurrencyHelpers lock.swift
[117/566] Compiling COperatingSystem libc.swift
[118/566] Compiling NIOConcurrencyHelpers NIOLock.swift
[119/566] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[120/566] Emitting module NIOConcurrencyHelpers
[121/567] Emitting module BigInt
[122/568] Emitting module _NIODataStructures
[123/568] Compiling _NIODataStructures Heap.swift
[126/585] Wrapping AST for _NIOBase64 for debugging
[127/585] Wrapping AST for _CollectionsUtilities for debugging
[128/585] Wrapping AST for Regex for debugging
[129/585] Wrapping AST for NIOConcurrencyHelpers for debugging
[130/585] Wrapping AST for _NIODataStructures for debugging
[131/585] Wrapping AST for COperatingSystem for debugging
[133/585] Compiling DequeModule Deque+Descriptions.swift
[134/585] Compiling DequeModule Deque+Equatable.swift
[135/587] Compiling DequeModule _DequeBuffer.swift
[136/587] Compiling DequeModule _DequeBufferHeader.swift
[137/587] Compiling Logging LogHandler.swift
[138/587] Compiling Logging Logging.swift
[138/587] Compiling v3_skey.c
[140/588] Compiling v3_utl.c
[141/588] Compiling v3_purp.c
[145/588] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[146/588] Compiling DequeModule Deque+Codable.swift
[147/588] Compiling DequeModule Deque+Collection.swift
[148/588] Compiling DequeModule Deque+CustomReflectable.swift
[149/588] Compiling DequeModule Deque+Extras.swift
[150/588] Compiling DequeModule Deque+Hashable.swift
[151/588] Compiling DequeModule Deque+Sendable.swift
[151/588] Wrapping AST for Logging for debugging
[152/588] Compiling v3_prn.c
[153/588] Compiling v3_pmaps.c
[154/588] Compiling v3_pcons.c
[156/588] Compiling BigInt Subtraction.swift
[157/588] Compiling BigInt Words and Bits.swift
[159/589] Compiling DequeModule _DequeSlot.swift
[160/589] Compiling DequeModule _UnsafeWrappedBuffer.swift
[160/589] Compiling v3_pcia.c
[161/589] Compiling v3_ocsp.c
[162/589] Compiling v3_pci.c
[163/589] Compiling v3_ncons.c
[164/589] Compiling v3_lib.c
[168/589] Compiling DequeModule Deque+Testing.swift
[169/589] Compiling DequeModule Deque._Storage.swift
[172/589] Compiling DequeModule Deque._UnsafeHandle.swift
[173/589] Compiling DequeModule Deque.swift
[173/589] Compiling v3_int.c
[174/589] Compiling v3_info.c
[175/589] Compiling v3_ia5.c
[176/589] Compiling v3_genn.c
[177/589] Compiling v3_extku.c
[178/589] Compiling v3_enum.c
[179/589] Compiling v3_crld.c
[180/589] Compiling v3_conf.c
[181/589] Compiling v3_bitst.c
[182/589] Compiling v3_cpols.c
[183/589] Compiling v3_bcons.c
[188/589] Emitting module DequeModule
[189/590] Compiling v3_alt.c
[190/590] Compiling v3_akeya.c
[191/590] Compiling v3_akey.c
[192/590] Wrapping AST for DequeModule for debugging
[193/590] Compiling pcy_tree.c
[194/590] Compiling pcy_node.c
[195/590] Compiling pcy_map.c
[196/590] Compiling pcy_lib.c
[197/590] Compiling x_x509a.c
[198/590] Compiling pcy_data.c
[199/590] Compiling x_val.c
[200/590] Compiling pcy_cache.c
[201/590] Compiling x_x509.c
[202/590] Compiling x_req.c
[202/590] Compiling x_sig.c
[204/590] Compiling x_spki.c
[205/590] Compiling x_pkey.c
[206/590] Compiling x_pubkey.c
[207/590] Compiling x_exten.c
[208/590] Compiling x_info.c
[209/590] Compiling x_name.c
[210/590] Compiling x_attrib.c
[211/590] Compiling x_crl.c
[212/590] Compiling x_all.c
[213/590] Compiling x_algor.c
[214/590] Compiling x509spki.c
[215/590] Compiling x509rset.c
[216/590] Compiling x509name.c
[217/590] Compiling x509cset.c
[218/590] Compiling x509_txt.c
[219/590] Compiling x509_v3.c
[220/590] Compiling x509_vpm.c
[221/590] Compiling x509_set.c
[221/590] Compiling x509_vfy.c
[223/590] Compiling x509_trs.c
[224/590] Compiling x509_req.c
[225/590] Compiling x509_obj.c
[226/590] Compiling x509_lu.c
[227/590] Compiling x509_def.c
[228/590] Compiling x509_d2.c
[229/590] Compiling x509_ext.c
[230/590] Compiling x509_att.c
[232/590] Emitting module Atomics
[238/591] Compiling x509.c
[239/591] Compiling t_x509a.c
[240/591] Compiling x509_cmp.c
[242/591] Compiling t_crl.c
[242/591] Compiling t_req.c
[244/591] Compiling i2d_pr.c
[245/591] Compiling t_x509.c
[246/591] Compiling rsa_pss.c
[247/591] Compiling algorithm.c
[248/591] Compiling by_file.c
[249/591] Compiling by_dir.c
[250/591] Compiling a_verify.c
[251/591] Compiling asn1_gen.c
[252/591] Compiling a_digest.c
[253/591] Compiling trust_token.c
[254/591] Compiling a_sign.c
[255/591] Compiling a_strex.c
[256/591] Compiling thread_pthread.c
[257/591] Compiling thread_win.c
[257/591] Compiling voprf.c
[258/591] Compiling thread_none.c
[260/591] Compiling thread.c
[261/591] Compiling rsa_print.c
[262/591] Compiling siphash.c
[263/591] Compiling pmbtoken.c
[264/591] Compiling stack.c
[265/591] Compiling refcount_lock.c
[266/591] Compiling rsa_asn1.c
[267/591] Compiling rc4.c
[268/591] Compiling windows.c
[268/591] Compiling rand_extra.c
[270/592] Compiling refcount_c11.c
[271/592] Compiling passive.c
[272/595] Compiling fuchsia.c
[273/604] Compiling deterministic.c
[274/611] Compiling forkunsafe.c
[275/638] Compiling pool.c
[276/648] Compiling poly1305_arm_asm.S
[277/648] Compiling poly1305.c
[278/648] Compiling poly1305_arm.c
[279/648] Compiling poly1305_vec.c
[280/648] Compiling pkcs7.c
[281/648] Compiling p5_pbev2.c
[282/648] Compiling pem_xaux.c
[283/648] Compiling pkcs8_x509.c
[284/648] Compiling pkcs7_x509.c
[285/648] Compiling pem_x509.c
[286/648] Compiling pkcs8.c
[287/648] Compiling pem_pkey.c
[288/648] Compiling obj_xref.c
[289/648] Compiling pem_info.c
[290/648] Compiling pem_oth.c
[291/648] Compiling pem_lib.c
[292/648] Compiling pem_pk8.c
[293/648] Compiling pem_all.c
[294/648] Compiling lhash.c
[295/648] Compiling mem.c
[296/648] Compiling hpke.c
[297/648] Compiling hkdf.c
[298/648] Compiling poly_rq_mul.S
[299/648] Compiling x86_64-mont5.mac.x86_64.S
[300/648] Compiling obj.c
[301/648] Compiling x86_64-mont5.linux.x86_64.S
[302/648] Compiling x86_64-mont.mac.x86_64.S
[303/648] Compiling x86-mont.windows.x86.S
[304/648] Compiling x86-mont.linux.x86.S
[305/648] Compiling x86_64-mont.linux.x86_64.S
[306/648] Compiling vpaes-x86_64.mac.x86_64.S
[307/648] Compiling vpaes-x86_64.linux.x86_64.S
[308/648] Compiling vpaes-x86.windows.x86.S
[309/648] Compiling vpaes-armv8.linux.aarch64.S
[310/648] Compiling vpaes-x86.linux.x86.S
[311/648] Compiling vpaes-armv8.ios.aarch64.S
[312/648] Compiling vpaes-armv7.linux.arm.S
[313/648] Compiling sha512-x86_64.mac.x86_64.S
[314/648] Compiling vpaes-armv7.ios.arm.S
[315/648] Compiling kdf.c
[316/648] Compiling sha512-x86_64.linux.x86_64.S
[317/648] Compiling sha512-armv8.linux.aarch64.S
[318/648] Compiling sha512-armv8.ios.aarch64.S
[319/648] Compiling sha512-armv4.ios.arm.S
[320/648] Compiling sha512-armv4.linux.arm.S
[321/648] Compiling sha512-586.windows.x86.S
[322/648] Compiling sha512-586.linux.x86.S
[323/648] Compiling sha256-x86_64.mac.x86_64.S
[324/648] Compiling sha256-x86_64.linux.x86_64.S
[325/648] Compiling sha256-armv8.linux.aarch64.S
[326/648] Compiling sha256-armv8.ios.aarch64.S
[327/648] Compiling sha256-armv4.linux.arm.S
[328/648] Compiling sha256-armv4.ios.arm.S
[329/648] Compiling sha256-586.windows.x86.S
[331/648] 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
^
[331/648] Compiling sha256-586.linux.x86.S
[332/648] Compiling sha1-x86_64.mac.x86_64.S
[333/648] Compiling sha1-armv8.ios.aarch64.S
error: fatalError
[334/648] Compiling sha1-armv4-large.linux.arm.S
[334/648] Compiling sha1-armv8.linux.aarch64.S
[334/648] Compiling sha1-586.windows.x86.S
[334/648] Compiling sha1-armv4-large.ios.arm.S
[334/648] Compiling sha1-586.linux.x86.S
[334/648] Compiling sha1-x86_64.linux.x86_64.S
warning: you may be able to install avahi-compat-libdns_sd using your system-packager:
apt-get install libavahi-compat-libdnssd-dev
[0/1] Planning build
Building for debugging...
[0/266] Compiling sha1-586.windows.x86.S
[1/266] Compiling sha1-armv4-large.linux.arm.S
[2/266] Compiling sha1-armv4-large.ios.arm.S
[3/266] Compiling sha1-armv8.linux.aarch64.S
[4/266] Compiling sha1-586.linux.x86.S
[4/266] Compiling sha512.c
[6/266] Compiling sha256.c
[7/266] Compiling sha1-x86_64.linux.x86_64.S
[8/266] Compiling sha1-altivec.c
[9/266] Compiling sha1.c
[10/266] Compiling rsaz-avx2.mac.x86_64.S
[11/266] Compiling rsaz-avx2.linux.x86_64.S
[12/266] Write swift-version-24593BA9C3E375BF.txt
[13/258] Compiling self_check.c
[14/258] Compiling blinding.c
[15/258] Compiling rsa_impl.c
[16/258] Compiling rsa.c
[17/258] Compiling padding.c
[18/258] Compiling rdrand-x86_64.mac.x86_64.S
[19/258] Compiling rand.c
[20/258] Compiling urandom.c
[21/258] Compiling rdrand-x86_64.linux.x86_64.S
[22/258] Compiling fork_detect.c
[23/258] Compiling ctrdrbg.c
[24/258] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[25/266] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[26/266] Compiling ofb.c
[27/285] Compiling gcm.c
[28/295] Compiling gcm_nohw.c
[29/295] Compiling polyval.c
[30/322] Compiling ctr.c
[31/323] Compiling p256-x86_64-asm.linux.x86_64.S
[33/323] 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
^
[33/323] Compiling md5.c
[34/323] Compiling cfb.c
[36/323] 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
^
[36/323] Compiling cbc.c
[37/323] Compiling md5-x86_64.mac.x86_64.S
[39/323] 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
^
[40/323] 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
^
[40/323] Compiling md5-586.windows.x86.S
[42/323] 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
^
[42/323] Compiling md5-x86_64.linux.x86_64.S
[43/323] Compiling is_fips.c
[44/323] Compiling md5-586.linux.x86.S
[45/323] Compiling hmac.c
[46/323] Compiling ghashv8-armx64.linux.aarch64.S
[47/323] Compiling ghashv8-armx64.ios.aarch64.S
[48/323] Compiling md4.c
[49/323] Compiling ghashv8-armx32.linux.arm.S
[50/323] Compiling ghashv8-armx32.ios.arm.S
[51/323] Compiling ghash-x86_64.mac.x86_64.S
[52/323] Compiling ghash-x86_64.linux.x86_64.S
[53/323] Compiling ghash-x86.windows.x86.S
[54/323] Compiling ghash-x86.linux.x86.S
[55/323] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[56/323] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[57/323] Compiling ghash-ssse3-x86.windows.x86.S
[58/323] Compiling ghash-neon-armv8.linux.aarch64.S
[59/323] Compiling ghash-ssse3-x86.linux.x86.S
[60/323] Compiling ghash-neon-armv8.ios.aarch64.S
[61/323] Compiling ghash-armv4.linux.arm.S
[62/323] Compiling fips_shared_support.c
[63/323] Compiling ghash-armv4.ios.arm.S
[64/323] Compiling ecdsa.c
[65/323] Compiling ecdh.c
[66/323] Compiling simple_mul.c
[67/323] Compiling util.c
[68/323] Compiling wnaf.c
[69/323] Compiling simple.c
[70/323] Compiling scalar.c
[71/323] Compiling oct.c
[72/323] Compiling felem.c
[73/323] Compiling p256.c
[74/323] Compiling ec_montgomery.c
[75/323] Compiling p224-64.c
[76/323] Compiling ec_key.c
[77/323] Compiling digest.c
[78/323] Compiling dh.c
[79/323] Compiling digests.c
[80/323] Compiling ec.c
[81/323] Compiling check.c
[82/323] Compiling co-586.linux.x86.S
[83/323] Compiling co-586.windows.x86.S
[84/323] Compiling e_des.c
[85/323] Compiling des.c
[86/323] Compiling cipher.c
[87/323] Compiling p256-x86_64.c
[88/323] Compiling aead.c
[89/323] Compiling bsaes-armv7.linux.arm.S
[90/323] Compiling bsaes-armv7.ios.arm.S
[91/323] Compiling e_aes.c
[92/323] Compiling sqrt.c
[93/323] Compiling rsaz_exp.c
[94/323] Compiling shift.c
[95/323] Compiling prime.c
[96/323] Compiling random.c
[97/323] Compiling montgomery_inv.c
[98/323] Compiling generic.c
[99/323] Compiling mul.c
[100/323] Compiling jacobi.c
[102/323] Compiling NIOCore MarkedCircularBuffer.swift
[103/323] Compiling NIOCore MulticastChannel.swift
[104/323] Compiling NIOCore NIOAny.swift
[105/323] Compiling NIOCore NIOCloseOnErrorHandler.swift
[106/323] Compiling NIOCore NIOLoopBound.swift
[107/323] Compiling NIOCore NIOSendable.swift
[108/323] Compiling NIOCore PointerHelpers.swift
[109/323] Compiling NIOCore RecvByteBufferAllocator.swift
[109/323] Compiling gcd_extra.c
[110/331] Compiling montgomery.c
[111/331] Compiling gcd.c
[112/331] Compiling div_extra.c
[113/331] Compiling ctx.c
[114/331] Compiling div.c
[115/331] Compiling cmp.c
[116/331] Compiling exponentiation.c
[117/331] Compiling bytes.c
[118/331] Compiling bn-586.windows.x86.S
[119/331] Compiling armv8-mont.ios.aarch64.S
[120/331] Compiling bn.c
[121/331] Compiling add.c
[122/331] Compiling armv4-mont.linux.arm.S
[123/331] Compiling armv4-mont.ios.arm.S
[124/331] Compiling aesv8-armx64.ios.aarch64.S
[125/331] Compiling aesv8-armx64.linux.aarch64.S
[126/331] Compiling aesv8-armx32.linux.arm.S
[127/331] Compiling x86_64-gcc.c
[128/331] Compiling aesv8-armx32.ios.arm.S
[129/331] Compiling aesni-x86_64.mac.x86_64.S
[130/331] Compiling aesni-x86.windows.x86.S
[131/331] Compiling aesni-x86_64.linux.x86_64.S
[132/331] Compiling aesni-x86.linux.x86.S
[133/331] Compiling aesni-gcm-x86_64.mac.x86_64.S
[134/331] Compiling aesni-gcm-x86_64.linux.x86_64.S
[135/331] Compiling mode_wrappers.c
[136/331] Compiling key_wrap.c
[136/331] Compiling aes.c
[138/331] Compiling ex_data.c
[139/331] Compiling sign.c
[140/331] Compiling scrypt.c
[141/331] Compiling pbkdf.c
[142/331] Compiling aes_nohw.c
[143/331] Compiling p_x25519_asn1.c
[144/331] Compiling p_x25519.c
[145/331] Compiling print.c
[146/331] Compiling p_rsa_asn1.c
[147/331] Compiling p_rsa.c
[148/331] Compiling p_ed25519.c
[149/331] Compiling p_ec_asn1.c
[149/331] Compiling p_dsa_asn1.c
[149/331] Compiling p_ed25519_asn1.c
[152/331] Compiling p_ec.c
[153/331] Compiling evp_ctx.c
[154/331] Compiling engine.c
[155/331] Compiling err_data.c
[156/331] Compiling digestsign.c
[157/331] Compiling evp_asn1.c
[158/331] Compiling evp.c
[159/331] Compiling err.c
[160/331] Compiling ecdsa_asn1.c
[161/331] Compiling ecdh_extra.c
[162/331] Compiling hash_to_curve.c
[163/331] Compiling ec_derive.c
[164/331] Compiling dsa_asn1.c
[165/331] Compiling ec_asn1.c
[166/331] Compiling dh_asn1.c
[167/331] Compiling spake25519.c
[168/331] Compiling digest_extra.c
[170/331] Compiling NIOCore GlobalSingletons.swift
[171/331] Compiling NIOCore IO.swift
[172/331] Compiling NIOCore IOData.swift
[173/331] Compiling NIOCore IPProtocol.swift
[174/331] Compiling NIOCore IntegerBitPacking.swift
[175/331] Compiling NIOCore IntegerTypes.swift
[176/331] Compiling NIOCore Interfaces.swift
[177/331] Compiling NIOCore Linux.swift
[177/331] Compiling params.c
[178/331] Compiling cpu-ppc64le.c
[179/331] Compiling dsa.c
[180/331] Compiling x25519-asm-arm.S
[181/331] Compiling cpu-arm.c
[182/331] Compiling cpu-arm-linux.c
[183/331] Compiling crypto.c
[183/331] Compiling cpu-aarch64-win.c
[183/331] Compiling cpu-intel.c
[186/331] Compiling curve25519.c
[187/331] Compiling cpu-aarch64-linux.c
[188/331] Compiling cpu-aarch64-fuchsia.c
[189/331] Compiling e_rc4.c
[190/331] Compiling cmac.c
[191/331] Compiling e_tls.c
[192/331] Compiling tls_cbc.c
[193/331] Compiling conf.c
[194/331] Compiling e_rc2.c
[196/331] Compiling NIOCore EventLoop+SerialExecutor.swift
[197/331] Compiling NIOCore EventLoop.swift
[198/331] Compiling NIOCore EventLoopFuture+Deprecated.swift
[199/331] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[200/331] Compiling NIOCore EventLoopFuture.swift
[201/331] Compiling NIOCore FileDescriptor.swift
[202/331] Compiling NIOCore FileHandle.swift
[203/331] Compiling NIOCore FileRegion.swift
[203/331] Compiling e_null.c
[204/331] Compiling derive_key.c
[205/331] Compiling e_aesctrhmac.c
[206/331] Compiling e_chacha20poly1305.c
[207/331] Compiling e_aesccm.c
[208/331] Compiling e_aesgcmsiv.c
[209/331] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[210/331] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[211/331] Compiling cipher_extra.c
[212/331] Compiling chacha-x86_64.mac.x86_64.S
[213/331] Compiling chacha.c
[214/331] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[215/331] Compiling chacha-x86.windows.x86.S
[216/331] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[217/331] Compiling chacha-x86_64.linux.x86_64.S
[218/331] Compiling chacha-x86.linux.x86.S
[219/331] Compiling chacha-armv8.ios.aarch64.S
[220/331] Compiling chacha-armv8.linux.aarch64.S
[220/331] Compiling chacha-armv4.linux.arm.S
[222/331] Compiling unicode.c
[223/331] Compiling chacha-armv4.ios.arm.S
[224/331] Compiling asn1_compat.c
[225/331] Compiling ber.c
[226/331] Compiling buf.c
[227/331] Compiling cbs.c
[228/331] Compiling cbb.c
[229/331] Compiling bn_asn1.c
[230/331] Compiling convert.c
[231/331] Compiling blake2.c
[232/331] Compiling socket_helper.c
[233/331] Compiling printf.c
[233/331] Compiling socket.c
[235/331] Compiling pair.c
[236/331] Compiling hexdump.c
[237/331] Compiling file.c
[238/331] Compiling bio_mem.c
[239/331] Compiling time_support.c
[240/331] Compiling connect.c
[241/331] Compiling fd.c
[242/331] Compiling base64.c
[243/331] Compiling bio.c
[244/331] Compiling tasn_utl.c
[245/331] Compiling tasn_new.c
[246/331] Compiling tasn_typ.c
[247/331] Compiling tasn_fre.c
[249/331] Compiling NIOCore ChannelOption.swift
[250/331] Compiling NIOCore ChannelPipeline.swift
[251/331] Compiling NIOCore CircularBuffer.swift
[252/331] Compiling NIOCore Codec.swift
[253/331] Compiling NIOCore ConvenienceOptionSupport.swift
[254/331] Compiling NIOCore DeadChannel.swift
[255/331] Compiling NIOCore DispatchQueue+WithFuture.swift
[256/331] Compiling NIOCore EventLoop+Deprecated.swift
[256/331] Compiling tasn_enc.c
[257/331] Compiling f_string.c
[258/331] Compiling f_int.c
[259/331] Compiling tasn_dec.c
[260/331] Compiling f_enum.c
[261/331] Compiling asn_pack.c
[262/331] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[263/331] Compiling NIOCore SocketAddresses.swift
[265/331] Compiling NIOCore SocketOptionProvider.swift
[266/331] Compiling NIOCore SystemCallHelpers.swift
[267/331] Compiling NIOCore TimeAmount+Duration.swift
[268/331] Compiling NIOCore TypeAssistedChannelHandler.swift
[269/331] Compiling NIOCore UniversalBootstrapSupport.swift
[270/331] Compiling NIOCore Utilities.swift
[270/331] Compiling asn1_par.c
[271/331] Compiling asn1_lib.c
[272/331] Compiling a_utf8.c
[273/331] Compiling a_utctm.c
[274/331] Compiling a_time.c
[275/331] Compiling a_type.c
[276/331] Compiling a_strnid.c
[277/331] Compiling a_octet.c
[278/331] Compiling a_print.c
[279/331] Compiling a_i2d_fp.c
[280/331] Compiling a_mbstr.c
[281/331] Compiling a_gentm.c
[282/331] Compiling a_int.c
[283/331] Compiling a_enum.c
[284/331] Compiling a_object.c
[285/331] Wrapping AST for BigInt for debugging
[286/331] Wrapping AST for Atomics for debugging
[287/331] Compiling a_dup.c
[288/331] Compiling a_d2i_fp.c
[290/385] Compiling Crypto AES-GCM.swift
[291/385] Compiling Crypto AES-GCM_boring.swift
[292/385] Compiling Crypto ChaChaPoly_boring.swift
[293/385] Compiling Crypto ChaChaPoly.swift
[294/385] Compiling Crypto Cipher.swift
[295/385] Compiling Crypto Nonces.swift
[296/385] Compiling Crypto ASN1.swift
[297/385] Compiling Crypto ASN1BitString.swift
[298/385] Compiling Crypto ASN1Identifier.swift
[299/385] Compiling Crypto ASN1Integer.swift
[300/385] Compiling Crypto ASN1OctetString.swift
[301/385] Compiling Crypto ArraySliceBigint.swift
[302/385] Compiling Crypto ObjectIdentifier.swift
[303/385] Compiling Crypto ECDSASignature.swift
[304/385] Compiling Crypto PEMDocument.swift
[305/385] Compiling Crypto PKCS8PrivateKey.swift
[306/385] Compiling Crypto Insecure.swift
[307/385] Compiling Crypto Insecure_HashFunctions.swift
[308/385] Compiling Crypto ECDH_boring.swift
[309/385] Compiling Crypto DH.swift
[310/385] Compiling Crypto ECDH.swift
[311/385] Compiling Crypto HKDF.swift
[312/385] Compiling Crypto Ed25519_boring.swift
[313/385] Compiling Crypto EllipticCurvePoint_boring.swift
[314/385] Compiling Crypto SymmetricKeys.swift
[315/385] Compiling Crypto HMAC.swift
[316/385] Compiling Crypto MACFunctions.swift
[317/385] Compiling Crypto MessageAuthenticationCode.swift
[318/385] Compiling Crypto AES.swift
[319/385] Compiling Crypto ECDSASignature_boring.swift
[320/385] Compiling Crypto ECDSA_boring.swift
[321/392] Emitting module Crypto
[322/392] Compiling Crypto SEC1PrivateKey.swift
[323/392] Compiling Crypto SubjectPublicKeyInfo.swift
[324/392] Compiling Crypto CryptoKitErrors.swift
[325/392] Compiling Crypto Digest_boring.swift
[326/392] Compiling Crypto Digest.swift
[327/392] Compiling Crypto Digests.swift
[328/392] Compiling Crypto HashFunctions.swift
[329/392] Compiling Crypto HashFunctions_SHA2.swift
[330/392] Compiling Crypto EdDSA_boring.swift
[331/392] Compiling Crypto ECDSA.swift
[332/392] Compiling Crypto EdDSA.swift
[333/392] Compiling Crypto Signature.swift
[334/392] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[335/392] Compiling Crypto CryptoKitErrors_boring.swift
[336/392] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[337/392] Compiling Crypto EllipticCurve_boring.swift
[338/392] Compiling Crypto NISTCurvesKeys_boring.swift
[339/392] Compiling Crypto X25519Keys_boring.swift
[340/392] Compiling Crypto Curve25519.swift
[341/392] Compiling Crypto Ed25519.swift
[342/392] Compiling Crypto NISTCurvesKeys.swift
[343/392] Compiling Crypto X25519Keys.swift
[368/392] Emitting module NIOCore
error: emit-module command failed with exit code 1 (use -v to see invocation)
[370/393] 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
^
[371/393] 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
^
[372/393] 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
^
[373/393] Compiling Crypto RNG_boring.swift
[374/393] Compiling Crypto SafeCompare_boring.swift
[375/393] Compiling Crypto Zeroization_boring.swift
[376/393] Compiling Crypto PrettyBytes.swift
[377/393] Compiling Crypto SafeCompare.swift
[378/393] Compiling Crypto SecureBytes.swift
[379/393] Compiling Crypto Zeroization.swift
error: fatalError
BUILD FAILURE 5.10 linux