Build Information
Failed to build swift-dns-service-discovery, reference main (70474b
), with Swift 5.9 for Linux on 27 Jun 2024 03:40:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
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-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:bf2706fb3ad57f47449cad6c85f40e5d27f055fda5f2d8da4d3c25f3a5524d1a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-service-discovery.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-atomics
[1/972] Fetching swift-service-discovery
[973/2541] Fetching swift-service-discovery, swift-atomics
[1507/5425] Fetching swift-service-discovery, swift-atomics, swift-docc-symbolkit
[2465/4453] Fetching swift-atomics, swift-docc-symbolkit
Fetching https://github.com/apple/swift-log
Fetched https://github.com/apple/swift-service-discovery.git (0.23s)
Fetched https://github.com/apple/swift-docc-symbolkit (0.35s)
Fetching https://github.com/apple/swift-docc-plugin.git
Fetched https://github.com/apple/swift-atomics (0.36s)
[1/3525] Fetching swift-log
[3526/5103] Fetching swift-log, swift-docc-plugin
Fetched https://github.com/apple/swift-log (0.35s)
[1484/1578] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git (0.35s)
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.17s)
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.37s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.44s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.3 (0.38s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.1.0 (0.40s)
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-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
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
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/17] Compiling _AtomicsShims.c
[4/37] Compiling Atomics AtomicValue.swift
[5/37] Compiling Atomics DoubleWord.swift
[6/37] Compiling Atomics AtomicRawRepresentable.swift
[7/37] Compiling Atomics AtomicStrongReference.swift
[8/39] Compiling Atomics AtomicInteger.swift
[9/39] Compiling Atomics AtomicMemoryOrderings.swift
[10/39] Emitting module Atomics
[11/39] Compiling Atomics AtomicOptional.swift
[12/39] Compiling Atomics AtomicOptionalRawRepresentable.swift
[13/39] Compiling Atomics Unmanaged extensions.swift
[14/39] Compiling Atomics AtomicBool.swift
[15/39] Compiling Atomics AtomicLazyReference.swift
[16/39] Compiling Atomics HighLevelTypes.swift
[17/39] Compiling Atomics IntegerConformances.swift
[18/39] Compiling Atomics PointerConformances.swift
[19/39] Compiling Logging MetadataProvider.swift
[20/39] Emitting module Logging
[21/39] Compiling Logging Locks.swift
[22/39] Compiling Atomics Primitives.native.swift
[23/39] Compiling Atomics Primitives.shims.swift
[24/39] Compiling Logging LogHandler.swift
[25/39] Compiling Logging Logging.swift
[29/43] Wrapping AST for Logging for debugging
[30/43] Wrapping AST for Atomics for debugging
[32/52] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[33/53] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[34/53] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[35/53] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[36/53] Compiling ServiceDiscovery ServiceDiscovery+TypeErased.swift
[37/53] Compiling ServiceDiscovery ServiceDiscovery.swift
[38/53] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[39/53] Compiling ServiceDiscovery HostPort.swift
[40/53] Emitting module ServiceDiscovery
[41/53] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[43/55] Wrapping AST for ServiceDiscovery for debugging
[45/70] 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
^
[46/70] 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
^
[47/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
^
[48/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
^
[49/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
^
[50/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
^
[51/72] 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
^
[52/72] 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
^
[53/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
^
[54/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
^
[55/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
^
[56/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
^
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
^
error: fatalError
BUILD FAILURE 5.9 linux