The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-dns-service-discovery, reference main (70474b), with Swift 5.8 for Linux on 27 Jun 2024 03:39:45 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.44.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:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/fwcd/swift-dns-service-discovery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:04b855c1ccaa3e5be7e0a673b43cb5972bbce6f39eeabbf4f2cb26180c5e9854
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-service-discovery.git
[1/972] Fetching swift-service-discovery
[973/3856] Fetching swift-service-discovery, swift-docc-symbolkit
[1348/7381] Fetching swift-service-discovery, swift-docc-symbolkit, swift-log
[4996/6409] Fetching swift-docc-symbolkit, swift-log
Fetching https://github.com/apple/swift-atomics
Fetched https://github.com/apple/swift-service-discovery.git (0.25s)
Fetched https://github.com/apple/swift-docc-symbolkit (0.38s)
Fetching https://github.com/apple/swift-docc-plugin.git
Fetched https://github.com/apple/swift-log (0.38s)
[1/1569] Fetching swift-atomics
[1570/3147] Fetching swift-atomics, swift-docc-plugin
Fetched https://github.com/apple/swift-atomics (0.40s)
[1500/1578] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (1.11s)
Computing version for https://github.com/apple/swift-service-discovery.git
Computed https://github.com/apple/swift-service-discovery.git at 1.2.1 (0.34s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.37s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.3 (0.36s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.1.0 (0.36s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.5.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.2.1
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.3.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/17] Compiling _AtomicsShims.c
[4/37] Emitting module Atomics
[5/39] Compiling Atomics AtomicOptional.swift
[6/39] Compiling Atomics AtomicOptionalRawRepresentable.swift
[7/39] Compiling Atomics AtomicInteger.swift
[8/39] Compiling Atomics AtomicMemoryOrderings.swift
[9/39] Compiling Atomics AtomicRawRepresentable.swift
[10/39] Compiling Atomics AtomicStrongReference.swift
[11/39] Compiling Atomics AtomicValue.swift
[12/39] Compiling Atomics DoubleWord.swift
[13/39] Compiling Atomics AtomicLazyReference.swift
[14/39] Compiling Atomics HighLevelTypes.swift
[15/39] Compiling Atomics Unmanaged extensions.swift
[16/39] Compiling Atomics AtomicBool.swift
[17/39] Compiling Atomics IntegerConformances.swift
[18/39] Compiling Atomics PointerConformances.swift
[19/39] Compiling Atomics Primitives.native.swift
[20/39] Compiling Atomics Primitives.shims.swift
[22/41] Wrapping AST for Atomics for debugging
[24/41] Compiling Logging MetadataProvider.swift
[25/41] Compiling Logging LogHandler.swift
[26/41] Compiling Logging Locks.swift
[27/41] Emitting module Logging
[28/41] Compiling Logging Logging.swift
[30/43] Wrapping AST for Logging for debugging
[32/52] Emitting module ServiceDiscovery
[33/53] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[34/53] Compiling ServiceDiscovery ServiceDiscovery.swift
[35/53] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[36/53] Compiling ServiceDiscovery ServiceDiscovery+TypeErased.swift
[37/53] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[38/53] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[39/53] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[40/53] Compiling ServiceDiscovery HostPort.swift
[41/53] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[43/55] Wrapping AST for ServiceDiscovery for debugging
[45/70] Compiling DNSServiceDiscovery DNSServiceError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[46/70] Compiling DNSServiceDiscovery DNSServiceInstance.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[47/72] Compiling DNSServiceDiscovery Domain.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[48/72] Compiling DNSServiceDiscovery IPAddress.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[49/72] Compiling DNSServiceDiscovery DNSService+NetworkProtocol.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[50/72] Compiling DNSServiceDiscovery DNSService+Query.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[51/72] Compiling DNSServiceDiscovery DNSService+FoundInstance.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[52/72] Compiling DNSServiceDiscovery DNSService+GetAddrInfo.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[53/72] Compiling DNSServiceDiscovery DNSService+Browse.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[54/72] Compiling DNSServiceDiscovery DNSService+Flags.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[55/72] Compiling DNSServiceDiscovery DNSServiceQuery.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[56/72] Compiling DNSServiceDiscovery DNSServiceType.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/72] Emitting module DNSServiceDiscovery
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[58/72] Compiling DNSServiceDiscovery AddressInfo.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[59/72] Compiling DNSServiceDiscovery DNSServiceDiscovery.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[60/72] Compiling DNSServiceDiscovery DNSService+Resolve.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
[61/72] Compiling DNSServiceDiscovery DNSService.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CDNSSD/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:1:8: error: could not build C module 'CDNSSD'
import CDNSSD
       ^
BUILD FAILURE 5.8 linux