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 6.0 for Linux on 5 Nov 2024 07:32:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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:             6.0
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-service-discovery.git
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2038] Fetching swift-docc-plugin
[246/3015] Fetching swift-docc-plugin, swift-service-discovery
Fetched https://github.com/apple/swift-service-discovery.git from cache (0.31s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.32s)
Computing version for https://github.com/apple/swift-service-discovery.git
Computed https://github.com/apple/swift-service-discovery.git at 1.3.0 (1.76s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-log
[1/3660] Fetching swift-log
[916/5229] Fetching swift-log, swift-atomics
Fetched https://github.com/apple/swift-atomics from cache (0.31s)
Fetched https://github.com/apple/swift-log from cache (0.31s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.38s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (0.43s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.45s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.1 (0.36s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.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.3
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
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.1
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.3.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/32] Write sources
[11/32] Compiling _AtomicsShims.c
[12/32] Write swift-version-24593BA9C3E375BF.txt
[14/56] Emitting module Atomics
[15/58] Compiling Atomics IntegerOperations.swift
[16/58] Compiling Atomics Unmanaged extensions.swift
[17/58] Compiling Atomics Primitives.shims.swift
[18/58] Compiling Atomics AtomicInteger.swift
[19/58] Compiling Atomics AtomicOptionalWrappable.swift
[20/58] Compiling Atomics AtomicMemoryOrderings.swift
[21/58] Compiling Atomics DoubleWord.swift
[22/58] Compiling Atomics ManagedAtomic.swift
[23/58] Compiling Atomics ManagedAtomicLazyReference.swift
[24/58] Compiling Atomics AtomicReference.swift
[25/58] Compiling Atomics AtomicStorage.swift
[26/58] Compiling Atomics AtomicValue.swift
[27/58] Compiling Atomics IntegerConformances.swift
[28/58] Compiling Atomics PointerConformances.swift
[29/58] Compiling Atomics Primitives.native.swift
[30/58] Compiling Atomics OptionalRawRepresentable.swift
[31/58] Compiling Atomics RawRepresentable.swift
[32/58] Compiling Atomics AtomicBool.swift
[33/58] Compiling Atomics UnsafeAtomic.swift
[34/58] Compiling Atomics UnsafeAtomicLazyReference.swift
[35/59] Wrapping AST for Atomics for debugging
[37/59] Compiling Logging MetadataProvider.swift
[38/59] Compiling Logging Locks.swift
[39/59] Emitting module Logging
[40/59] Compiling Logging LogHandler.swift
[41/59] Compiling Logging Logging.swift
[42/60] Wrapping AST for Logging for debugging
[44/69] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[45/69] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[46/70] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[47/70] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[48/70] Compiling ServiceDiscovery ServiceDiscovery+TypeErased.swift
[49/70] Compiling ServiceDiscovery ServiceDiscovery.swift
[50/70] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[51/70] Compiling ServiceDiscovery HostPort.swift
[52/70] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[53/70] Emitting module ServiceDiscovery
[54/71] Wrapping AST for ServiceDiscovery for debugging
[56/86] 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 {
[57/86] 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 {
[58/86] 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 {
[59/86] 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 {
[60/88] 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 {
[61/88] 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 {
[62/88] 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 {
[63/88] 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 {
[64/88] 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 {
[65/88] 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 {
[66/88] 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 {
[67/88] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/88] 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 {
[69/88] 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 {
[70/88] 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 {
[71/88] 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 {
[72/88] 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.0 linux