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 swift-dns-service-discovery, reference main (70474b), with Swift 6.2 (beta) for Android on 21 Jun 2025 17:43:15 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fwcd/swift-dns-service-discovery.git
Reference: main
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/fwcd/swift-dns-service-discovery
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 70474be Install native dependencies in docs CI
Cloned https://github.com/fwcd/swift-dns-service-discovery.git
Revision (git rev-parse @):
70474be35b33540c771db83ec0e173de6f882814
SUCCESS checkout https://github.com/fwcd/swift-dns-service-discovery.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fwcd/swift-dns-service-discovery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-service-discovery.git
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2082] Fetching swift-docc-plugin
[43/3202] Fetching swift-docc-plugin, swift-service-discovery
Fetched https://github.com/apple/swift-service-discovery.git from cache (0.74s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.74s)
Computing version for https://github.com/apple/swift-service-discovery.git
Computed https://github.com/apple/swift-service-discovery.git at 1.4.0 (1.52s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
[1152/5633] Fetching swift-log, swift-atomics
Fetched https://github.com/apple/swift-log from cache (0.66s)
Fetched https://github.com/apple/swift-atomics from cache (0.71s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.44s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.4 (4.43s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.40s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.66s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-service-discovery.git
Working copy of https://github.com/apple/swift-service-discovery.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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 avahi-compat-libdns_sd using your system-packager:
    apt-get install libavahi-compat-libdnssd-dev
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/32] Write sources
[11/32] Compiling _AtomicsShims.c
[12/32] Write swift-version-8C5A4AE7A8CE2BA.txt
[14/55] Compiling Atomics AtomicStorage.swift
[15/55] Compiling Atomics AtomicValue.swift
[16/55] Compiling Atomics AtomicInteger.swift
[17/55] Compiling Atomics AtomicOptionalWrappable.swift
[18/55] Compiling Atomics AtomicReference.swift
[19/57] Compiling Atomics UnsafeAtomic.swift
[20/57] Compiling Atomics UnsafeAtomicLazyReference.swift
[21/57] Compiling Atomics ManagedAtomic.swift
[22/57] Compiling Atomics ManagedAtomicLazyReference.swift
[23/57] Compiling Atomics AtomicMemoryOrderings.swift
[24/57] Compiling Atomics DoubleWord.swift
[25/57] Emitting module Atomics
[26/57] Compiling Atomics OptionalRawRepresentable.swift
[27/57] Compiling Atomics RawRepresentable.swift
[28/57] Compiling Atomics AtomicBool.swift
[29/57] Compiling Atomics IntegerConformances.swift
[30/57] Compiling Atomics PointerConformances.swift
[31/57] Compiling Atomics Primitives.native.swift
[32/57] Compiling Atomics IntegerOperations.swift
[33/57] Compiling Atomics Unmanaged extensions.swift
[34/58] Wrapping AST for Atomics for debugging
[36/58] Compiling Logging LogHandler.swift
[37/58] Compiling Logging MetadataProvider.swift
[38/58] Compiling Logging Locks.swift
[39/58] Compiling Logging Logging.swift
[40/58] Emitting module Logging
[41/59] Wrapping AST for Logging for debugging
[43/68] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[44/69] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[45/69] Compiling ServiceDiscovery ServiceDiscovery.swift
[46/69] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[47/69] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[48/69] Compiling ServiceDiscovery ServiceDiscovery+TypeErased.swift
[49/69] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[50/69] Compiling ServiceDiscovery HostPort.swift
[51/69] Emitting module ServiceDiscovery
[52/69] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[53/70] Wrapping AST for ServiceDiscovery for debugging
[55/85] Compiling DNSServiceDiscovery DNSService+Browse.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[56/85] Compiling DNSServiceDiscovery DNSService+Flags.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[57/87] Compiling DNSServiceDiscovery DNSService+NetworkProtocol.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[58/87] Compiling DNSServiceDiscovery DNSService+Query.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[59/87] Compiling DNSServiceDiscovery DNSService+FoundInstance.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[60/87] Compiling DNSServiceDiscovery DNSService+GetAddrInfo.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[61/87] Compiling DNSServiceDiscovery AddressInfo.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[62/87] Compiling DNSServiceDiscovery DNSServiceDiscovery.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[63/87] Compiling DNSServiceDiscovery DNSServiceError.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[64/87] Compiling DNSServiceDiscovery DNSServiceInstance.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/87] Emitting module DNSServiceDiscovery
<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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[66/87] Compiling DNSServiceDiscovery DNSServiceQuery.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[67/87] Compiling DNSServiceDiscovery DNSServiceType.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[68/87] Compiling DNSServiceDiscovery Domain.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[69/87] Compiling DNSServiceDiscovery IPAddress.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[70/87] Compiling DNSServiceDiscovery DNSService+Resolve.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
[71/87] Compiling DNSServiceDiscovery DNSService.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/Sources/CDNSSD/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/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
 1 | import CDNSSD
   |        `- error: could not build C module 'CDNSSD'
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
BUILD FAILURE 6.2 android