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 DNSKit, reference main (5043e2), with Swift 6.0 for macOS (SPM) on 8 Sep 2025 04:55:05 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dns-inspector/dnskit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dns-inspector/dnskit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5043e29 Update workflows
Cloned https://github.com/dns-inspector/dnskit.git
Revision (git rev-parse @):
5043e29a7660ce49ea91c1e689733cdf811f7e95
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/dns-inspector/dnskit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dns-inspector/dnskit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/57] Emitting module DNSKit
[4/62] Compiling DNSKit AtomicBool.swift
[5/62] Compiling DNSKit AtomicInt.swift
[6/62] Compiling DNSKit AtomicMap.swift
[7/62] Compiling DNSKit AtomicOnce.swift
[8/62] Compiling DNSKit ILogger.swift
[9/62] Compiling DNSKit IPAddress.swift
[10/62] Compiling DNSKit Message.swift
[11/62] Compiling DNSKit Name.swift
[12/62] Compiling DNSKit Query.swift
[13/62] Compiling DNSKit Question.swift
[14/62] Compiling DNSKit RecordData.swift
[15/62] Compiling DNSKit AAAARecordData.swift
[16/62] Compiling DNSKit SocketAddress.swift
[17/62] Compiling DNSKit Timer.swift
[18/62] Compiling DNSKit WHOISClient.swift
[19/62] Compiling DNSKit WHOISReply.swift
[20/62] Compiling DNSKit WHOISServers.swift
[21/62] Compiling DNSKit ARecordData.swift
[22/62] Compiling DNSKit BasicNameRecordData.swift
[23/62] Compiling DNSKit CNAMERecordData.swift
[24/62] Compiling DNSKit DNSKEYRecordData.swift
[25/62] Compiling DNSKit DSRecordData.swift
[26/62] Compiling DNSKit ErrorRecordData.swift
[27/62] Compiling DNSKit SOARecordData.swift
[28/62] Compiling DNSKit SRVRecordData.swift
[29/62] Compiling DNSKit TXTRecordData.swift
[30/62] Compiling DNSKit Types.swift
[31/62] Compiling DNSKit ASN1.swift
[32/62] Compiling DNSKit AtomicArray.swift
[33/62] Compiling DNSKit DNSSECResult.swift
[34/62] Compiling DNSKit DNSSECSignatureVerifier.swift
[35/62] Compiling DNSKit Errors.swift
[36/62] Compiling DNSKit Array.swift
[37/62] Compiling DNSKit Data.swift
[38/62] Compiling DNSKit DateFormatter.swift
[39/62] Compiling DNSKit DNSKit.swift
[40/62] Compiling DNSKit DNSSECChainEvalulator.swift
[41/62] Compiling DNSKit DNSSECClient.swift
[42/62] Compiling DNSKit DNSSECKSK.swift
[43/62] Compiling DNSKit DNSSECResource.swift
[44/62] Compiling DNSKit DNSSECResourceCollector.swift
[45/62] Compiling DNSKit HTTPSRecordData.swift
[46/62] Compiling DNSKit LOCRecordData.swift
[47/62] Compiling DNSKit MXRecordData.swift
[48/62] Compiling DNSKit NSRecordData.swift
[49/62] Compiling DNSKit PTRRecordData.swift
[50/62] Compiling DNSKit RRSIGRecordData.swift
[51/62] Compiling DNSKit Answer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSKit/Clients/HTTPSClient.swift:171:17: error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
169 |         nonisolated(unsafe) let responseMessage = CFHTTPMessageCreateEmpty(nil, false).takeRetainedValue()
170 |         nonisolated(unsafe) var recieve: (@Sendable (NWConnection) -> Void)!
171 |         recieve = { connection in
    |                 `- error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
172 |             // The logic here is to try to read as much data as we can from the connection until we've read the status line + all headers from the HTTP response.
173 |             // Then, extract the Content-Length header and then continue reading until the body in the HTTP message contains that much data.
[52/62] Compiling DNSKit BaseTLSClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSKit/Clients/HTTPSClient.swift:171:17: error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
169 |         nonisolated(unsafe) let responseMessage = CFHTTPMessageCreateEmpty(nil, false).takeRetainedValue()
170 |         nonisolated(unsafe) var recieve: (@Sendable (NWConnection) -> Void)!
171 |         recieve = { connection in
    |                 `- error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
172 |             // The logic here is to try to read as much data as we can from the connection until we've read the status line + all headers from the HTTP response.
173 |             // Then, extract the Content-Length header and then continue reading until the body in the HTTP message contains that much data.
[53/62] Compiling DNSKit DNSClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSKit/Clients/HTTPSClient.swift:171:17: error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
169 |         nonisolated(unsafe) let responseMessage = CFHTTPMessageCreateEmpty(nil, false).takeRetainedValue()
170 |         nonisolated(unsafe) var recieve: (@Sendable (NWConnection) -> Void)!
171 |         recieve = { connection in
    |                 `- error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
172 |             // The logic here is to try to read as much data as we can from the connection until we've read the status line + all headers from the HTTP response.
173 |             // Then, extract the Content-Length header and then continue reading until the body in the HTTP message contains that much data.
[54/62] Compiling DNSKit HTTPSClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSKit/Clients/HTTPSClient.swift:171:17: error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
169 |         nonisolated(unsafe) let responseMessage = CFHTTPMessageCreateEmpty(nil, false).takeRetainedValue()
170 |         nonisolated(unsafe) var recieve: (@Sendable (NWConnection) -> Void)!
171 |         recieve = { connection in
    |                 `- error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
172 |             // The logic here is to try to read as much data as we can from the connection until we've read the status line + all headers from the HTTP response.
173 |             // Then, extract the Content-Length header and then continue reading until the body in the HTTP message contains that much data.
[55/62] Compiling DNSKit QuicClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSKit/Clients/HTTPSClient.swift:171:17: error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
169 |         nonisolated(unsafe) let responseMessage = CFHTTPMessageCreateEmpty(nil, false).takeRetainedValue()
170 |         nonisolated(unsafe) var recieve: (@Sendable (NWConnection) -> Void)!
171 |         recieve = { connection in
    |                 `- error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
172 |             // The logic here is to try to read as much data as we can from the connection until we've read the status line + all headers from the HTTP response.
173 |             // Then, extract the Content-Length header and then continue reading until the body in the HTTP message contains that much data.
[56/62] Compiling DNSKit TLSClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSKit/Clients/HTTPSClient.swift:171:17: error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
169 |         nonisolated(unsafe) let responseMessage = CFHTTPMessageCreateEmpty(nil, false).takeRetainedValue()
170 |         nonisolated(unsafe) var recieve: (@Sendable (NWConnection) -> Void)!
171 |         recieve = { connection in
    |                 `- error: converting non-sendable function value to '@Sendable (NWConnection) -> Void' may introduce data races
172 |             // The logic here is to try to read as much data as we can from the connection until we've read the status line + all headers from the HTTP response.
173 |             // Then, extract the Content-Length header and then continue reading until the body in the HTTP message contains that much data.
[57/62] Compiling DNSKit DispatchTime.swift
[58/62] Compiling DNSKit NSRegularExpression.swift
[59/62] Compiling DNSKit NWEndpoint.swift
[60/62] Compiling DNSKit String.swift
[61/62] Compiling DNSKit UInt16.swift
[62/62] Compiling DNSKit IClient.swift
BUILD FAILURE 6.0 macosSpm