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.10 for Linux on 27 Jun 2024 03:39:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
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-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:25efef401ffd78342b231554234a436b1eb31bdd29046c1104fb984cc1b7d308
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-service-discovery.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/972] Fetching swift-service-discovery
[439/2550] Fetching swift-service-discovery, swift-docc-plugin
[2031/5434] Fetching swift-service-discovery, swift-docc-plugin, swift-docc-symbolkit
[3018/8959] Fetching swift-service-discovery, swift-docc-plugin, swift-docc-symbolkit, swift-log
[4022/10528] Fetching swift-service-discovery, swift-docc-plugin, swift-docc-symbolkit, swift-log, swift-atomics
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.37s)
Fetched https://github.com/apple/swift-service-discovery.git from cache (0.38s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.38s)
Fetched https://github.com/apple/swift-log from cache (0.38s)
Fetched https://github.com/apple/swift-atomics from cache (0.41s)
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (1.29s)
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.72s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.84s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.3 (0.74s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.1.0 (0.68s)
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-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-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-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
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/32] Write sources
[11/32] Compiling _AtomicsShims.c
[11/32] Write swift-version-24593BA9C3E375BF.txt
[14/52] Compiling Atomics Unmanaged extensions.swift
[15/52] Compiling Atomics AtomicBool.swift
[16/54] Compiling Atomics AtomicValue.swift
[17/54] Compiling Atomics DoubleWord.swift
[18/54] Compiling Atomics IntegerConformances.swift
[19/54] Compiling Atomics PointerConformances.swift
[20/54] Compiling Atomics AtomicLazyReference.swift
[21/54] Compiling Atomics HighLevelTypes.swift
[22/54] Compiling Atomics AtomicOptional.swift
[23/54] Compiling Atomics AtomicOptionalRawRepresentable.swift
[24/54] Compiling Atomics AtomicInteger.swift
[25/54] Compiling Atomics AtomicMemoryOrderings.swift
[26/54] Compiling Atomics AtomicRawRepresentable.swift
[27/54] Compiling Atomics AtomicStrongReference.swift
[28/54] Emitting module Atomics
[29/54] Compiling Logging MetadataProvider.swift
[30/54] Compiling Atomics Primitives.native.swift
[31/54] Compiling Atomics Primitives.shims.swift
[32/55] Wrapping AST for Atomics for debugging
[34/55] Compiling Logging LogHandler.swift
[35/55] Compiling Logging Locks.swift
[36/55] Emitting module Logging
[37/55] Compiling Logging Logging.swift
[38/56] Wrapping AST for Logging for debugging
[40/65] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[41/65] Compiling ServiceDiscovery ServiceDiscovery+TypeErased.swift
[42/66] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[43/66] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[44/66] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[45/66] Compiling ServiceDiscovery ServiceDiscovery.swift
[46/66] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[47/66] Compiling ServiceDiscovery HostPort.swift
[48/66] Emitting module ServiceDiscovery
[49/66] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[50/67] Wrapping AST for ServiceDiscovery for debugging
[52/82] 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
       ^
[53/82] 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
       ^
[54/82] 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
       ^
[55/82] 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
       ^
[56/84] 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
       ^
[57/84] 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
       ^
[58/84] 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
       ^
[59/84] 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
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/84] 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
       ^
[61/84] 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
       ^
[62/84] 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
       ^
[63/84] 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
       ^
[64/84] 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
       ^
[65/84] 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
       ^
[66/84] 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
       ^
[67/84] 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
       ^
[68/84] 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
       ^
error: fatalError
BUILD FAILURE 5.10 linux