Build Information
Successful build of swift-async-dns-resolver, reference 0.4.0 (08c07f
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 12:28:03 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-async-dns-resolver.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-async-dns-resolver
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 08c07ff Simplify AsyncDNSResolver.Error (#27)
Submodule path 'Sources/CAsyncDNSResolver/c-ares': checked out '6360e96b5cf8e5980c887ce58ef727e53d77243a'
Submodule 'c-ares' (https://github.com/c-ares/c-ares.git) registered for path 'Sources/CAsyncDNSResolver/c-ares'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/CAsyncDNSResolver/c-ares'...
Cloned https://github.com/apple/swift-async-dns-resolver.git
Revision (git rev-parse @):
08c07ff31a745ee5e522ac10132fb4949834d925
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-async-dns-resolver.git at 0.4.0
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (8.08s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3186] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.59s)
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-async-dns-resolver",
"name": "swift-async-dns-resolver",
"url": "https://github.com/apple/swift-async-dns-resolver.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-async-dns-resolver",
"dependencies": [
]
}
]
}
Fetching https://github.com/apple/swift-async-dns-resolver.git
[1/728] Fetching swift-async-dns-resolver
Fetched https://github.com/apple/swift-async-dns-resolver.git from cache (0.85s)
Creating working copy for https://github.com/apple/swift-async-dns-resolver.git
Working copy of https://github.com/apple/swift-async-dns-resolver.git resolved at 0.4.0 (08c07ff)
warning: '.resolve-product-dependencies': dependency 'swift-async-dns-resolver' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/apple/swift-async-dns-resolver.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/64] Compiling ares_android.c
[3/64] Write swift-version--7754E27361AE5C74.txt
[4/64] Compiling ares__read_line.c
[5/64] Compiling ares__parse_into_addrinfo.c
[6/64] Compiling ares_cancel.c
[7/64] Compiling ares__addrinfo_localhost.c
[8/64] Compiling inet_ntop.c
[9/64] Compiling ares__timeval.c
[10/64] Compiling inet_net_pton.c
[11/64] Compiling ares_writev.c
[12/64] Compiling bitncmp.c
[13/64] Compiling ares_version.c
[14/64] Compiling ares_timeout.c
[15/64] Compiling ares_strsplit.c
[16/64] Compiling ares__close_sockets.c
[17/64] Compiling ares__readaddrinfo.c
[18/64] Compiling ares_strcasecmp.c
[19/64] Compiling ares_strdup.c
[20/64] Compiling ares_strerror.c
[21/64] Compiling ares__sortaddrinfo.c
[22/64] Compiling ares_send.c
[23/64] Compiling ares_search.c
[24/64] Compiling ares_rand.c
[25/64] Compiling ares_query.c
[26/64] Compiling ares_platform.c
[27/64] Compiling ares_parse_uri_reply.c
[28/64] Compiling ares_process.c
[29/64] Compiling ares_parse_srv_reply.c
[30/64] Compiling ares_parse_txt_reply.c
[31/64] Compiling ares_parse_soa_reply.c
[32/64] Compiling ares_parse_ptr_reply.c
[33/64] Compiling ares_parse_ns_reply.c
[34/64] Compiling ares_parse_naptr_reply.c
[35/64] Compiling ares_parse_mx_reply.c
[36/64] Compiling ares_parse_caa_reply.c
[37/64] Compiling ares_parse_a_reply.c
[38/64] Compiling ares_parse_aaaa_reply.c
[39/64] Compiling ares_nowarn.c
[40/64] Compiling ares_options.c
[41/64] Compiling ares_mkquery.c
[42/64] Compiling ares_llist.c
[43/64] Compiling ares_library_init.c
[44/64] Compiling ares__get_hostent.c
[45/64] Compiling ares_getsock.c
[46/64] Compiling ares_init.c
[47/64] Compiling ares_getnameinfo.c
[48/64] Compiling ares_gethostbyname.c
[49/64] Compiling windows_port.c
[50/64] Compiling ares_getenv.c
[51/64] Compiling ares_gethostbyaddr.c
[52/64] Compiling ares_freeaddrinfo.c
[53/64] Compiling ares_free_string.c
[54/64] Write sources
[55/64] Compiling ares_getaddrinfo.c
[56/64] Compiling ares_free_hostent.c
[57/64] Compiling ares_fds.c
[58/64] Compiling ares_expand_string.c
[59/64] Compiling ares_expand_name.c
[60/64] Compiling ares_destroy.c
[61/64] Compiling ares_create_query.c
[62/64] Compiling ares_data.c
[63/64] Compiling ares__addrinfo2hostent.c
[65/73] Compiling AsyncDNSResolver DNSResolver_c-ares.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/DNSResolver_c-ares.swift:179:17: warning: capture of 'self' with non-sendable type 'Ares' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |
123 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
124 | class Ares {
| `- note: class 'Ares' does not conform to the 'Sendable' protocol
125 | typealias QueryCallback = @convention(c) (UnsafeMutableRawPointer?, CInt, CInt, UnsafeMutablePointer<CUnsignedChar>?, CInt) -> Void
126 |
:
177 | },
178 | onCancel: {
179 | self.channel.withChannel { channel in
| `- warning: capture of 'self' with non-sendable type 'Ares' in a `@Sendable` closure; this is an error in the Swift 6 language mode
180 | ares_cancel(channel)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/DNSResolver_c-ares.swift:250:37: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
248 |
249 | private func schedule() {
250 | self.pollingTask = Task { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
251 | guard let s = self else {
| `- note: closure captures 'self' which is accessible to code in the current task
252 | return
253 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/DNSResolver_c-ares.swift:276:34: warning: sending 'reply' risks causing data races; this is an error in the Swift 6 language mode
274 | do {
275 | let reply = try parser.parse(buffer: buffer, length: length)
276 | continuation.resume(returning: reply)
| |- warning: sending 'reply' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'reply' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
277 | } catch {
278 | continuation.resume(throwing: error)
[66/73] Compiling AsyncDNSResolver Errors_dnssd.swift
[67/73] Compiling AsyncDNSResolver AresOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:102:27: warning: static property 'USEVC' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
100 |
101 | /// Always use TCP queries (the "virtual circuit") instead of UDP queries. Normally, TCP is only used if a UDP query yields a truncated result.
102 | public static let USEVC = Flags(rawValue: ARES_FLAG_USEVC)
| |- warning: static property 'USEVC' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'USEVC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | /// Only query the first server in the list of servers to query.
104 | public static let PRIMARY = Flags(rawValue: ARES_FLAG_PRIMARY)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:104:27: warning: static property 'PRIMARY' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
102 | public static let USEVC = Flags(rawValue: ARES_FLAG_USEVC)
103 | /// Only query the first server in the list of servers to query.
104 | public static let PRIMARY = Flags(rawValue: ARES_FLAG_PRIMARY)
| |- warning: static property 'PRIMARY' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PRIMARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// If a truncated response to a UDP query is received, do not fall back to TCP; simply continue on with the truncated response.
106 | public static let IGNTC = Flags(rawValue: ARES_FLAG_IGNTC)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:106:27: warning: static property 'IGNTC' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
104 | public static let PRIMARY = Flags(rawValue: ARES_FLAG_PRIMARY)
105 | /// If a truncated response to a UDP query is received, do not fall back to TCP; simply continue on with the truncated response.
106 | public static let IGNTC = Flags(rawValue: ARES_FLAG_IGNTC)
| |- warning: static property 'IGNTC' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'IGNTC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | /// Do not set the "recursion desired" bit on outgoing queries, so that the name server being contacted will not try to fetch the answer
108 | /// from other servers if it doesn't know the answer locally. Be aware that this library will not do the recursion for you. Recursion must be
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:110:27: warning: static property 'NORECURSE' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
108 | /// from other servers if it doesn't know the answer locally. Be aware that this library will not do the recursion for you. Recursion must be
109 | /// handled by the client calling this library.
110 | public static let NORECURSE = Flags(rawValue: ARES_FLAG_NORECURSE)
| |- warning: static property 'NORECURSE' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NORECURSE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | /// Do not close communications sockets when the number of active queries drops to zero.
112 | public static let STAYOPEN = Flags(rawValue: ARES_FLAG_STAYOPEN)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:112:27: warning: static property 'STAYOPEN' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
110 | public static let NORECURSE = Flags(rawValue: ARES_FLAG_NORECURSE)
111 | /// Do not close communications sockets when the number of active queries drops to zero.
112 | public static let STAYOPEN = Flags(rawValue: ARES_FLAG_STAYOPEN)
| |- warning: static property 'STAYOPEN' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STAYOPEN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | /// Do not use the default search domains; only query hostnames as-is or as aliases.
114 | public static let NOSEARCH = Flags(rawValue: ARES_FLAG_NOSEARCH)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:114:27: warning: static property 'NOSEARCH' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
112 | public static let STAYOPEN = Flags(rawValue: ARES_FLAG_STAYOPEN)
113 | /// Do not use the default search domains; only query hostnames as-is or as aliases.
114 | public static let NOSEARCH = Flags(rawValue: ARES_FLAG_NOSEARCH)
| |- warning: static property 'NOSEARCH' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOSEARCH' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | /// Do not honor the HOSTALIASES environment variable, which normally specifies a file of hostname translations.
116 | public static let NOALIASES = Flags(rawValue: ARES_FLAG_NOALIASES)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:116:27: warning: static property 'NOALIASES' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
114 | public static let NOSEARCH = Flags(rawValue: ARES_FLAG_NOSEARCH)
115 | /// Do not honor the HOSTALIASES environment variable, which normally specifies a file of hostname translations.
116 | public static let NOALIASES = Flags(rawValue: ARES_FLAG_NOALIASES)
| |- warning: static property 'NOALIASES' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOALIASES' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | /// Do not discard responses with the SERVFAIL, NOTIMP, or REFUSED response code or responses whose questions don't match the
118 | /// questions in the request. Primarily useful for writing clients which might be used to test or debug name servers.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:119:27: warning: static property 'NOCHECKRESP' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
117 | /// Do not discard responses with the SERVFAIL, NOTIMP, or REFUSED response code or responses whose questions don't match the
118 | /// questions in the request. Primarily useful for writing clients which might be used to test or debug name servers.
119 | public static let NOCHECKRESP = Flags(rawValue: ARES_FLAG_NOCHECKRESP)
| |- warning: static property 'NOCHECKRESP' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOCHECKRESP' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | /// Include an EDNS pseudo-resource record (RFC 2671) in generated requests.
121 | public static let EDNS = Flags(rawValue: ARES_FLAG_EDNS)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:121:27: warning: static property 'EDNS' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
119 | public static let NOCHECKRESP = Flags(rawValue: ARES_FLAG_NOCHECKRESP)
120 | /// Include an EDNS pseudo-resource record (RFC 2671) in generated requests.
121 | public static let EDNS = Flags(rawValue: ARES_FLAG_EDNS)
| |- warning: static property 'EDNS' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EDNS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | }
123 | }
[68/73] Compiling AsyncDNSResolver Errors_c-ares.swift
[69/73] Compiling AsyncDNSResolver DNSResolver_dnssd.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/dnssd/DNSResolver_dnssd.swift:206:38: warning: sending 'record' risks causing data races; this is an error in the Swift 6 language mode
204 | do {
205 | if let record = try handler.parseRecord(data: data, length: length) {
206 | continuation.yield(record)
| |- warning: sending 'record' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'record' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
207 | } else {
208 | continuation.finish()
[70/73] Compiling AsyncDNSResolver Errors.swift
[71/73] Compiling AsyncDNSResolver AsyncDNSResolver.swift
[72/73] Emitting module AsyncDNSResolver
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:102:27: warning: static property 'USEVC' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
100 |
101 | /// Always use TCP queries (the "virtual circuit") instead of UDP queries. Normally, TCP is only used if a UDP query yields a truncated result.
102 | public static let USEVC = Flags(rawValue: ARES_FLAG_USEVC)
| |- warning: static property 'USEVC' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'USEVC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | /// Only query the first server in the list of servers to query.
104 | public static let PRIMARY = Flags(rawValue: ARES_FLAG_PRIMARY)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:104:27: warning: static property 'PRIMARY' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
102 | public static let USEVC = Flags(rawValue: ARES_FLAG_USEVC)
103 | /// Only query the first server in the list of servers to query.
104 | public static let PRIMARY = Flags(rawValue: ARES_FLAG_PRIMARY)
| |- warning: static property 'PRIMARY' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PRIMARY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// If a truncated response to a UDP query is received, do not fall back to TCP; simply continue on with the truncated response.
106 | public static let IGNTC = Flags(rawValue: ARES_FLAG_IGNTC)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:106:27: warning: static property 'IGNTC' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
104 | public static let PRIMARY = Flags(rawValue: ARES_FLAG_PRIMARY)
105 | /// If a truncated response to a UDP query is received, do not fall back to TCP; simply continue on with the truncated response.
106 | public static let IGNTC = Flags(rawValue: ARES_FLAG_IGNTC)
| |- warning: static property 'IGNTC' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'IGNTC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | /// Do not set the "recursion desired" bit on outgoing queries, so that the name server being contacted will not try to fetch the answer
108 | /// from other servers if it doesn't know the answer locally. Be aware that this library will not do the recursion for you. Recursion must be
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:110:27: warning: static property 'NORECURSE' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
108 | /// from other servers if it doesn't know the answer locally. Be aware that this library will not do the recursion for you. Recursion must be
109 | /// handled by the client calling this library.
110 | public static let NORECURSE = Flags(rawValue: ARES_FLAG_NORECURSE)
| |- warning: static property 'NORECURSE' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NORECURSE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | /// Do not close communications sockets when the number of active queries drops to zero.
112 | public static let STAYOPEN = Flags(rawValue: ARES_FLAG_STAYOPEN)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:112:27: warning: static property 'STAYOPEN' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
110 | public static let NORECURSE = Flags(rawValue: ARES_FLAG_NORECURSE)
111 | /// Do not close communications sockets when the number of active queries drops to zero.
112 | public static let STAYOPEN = Flags(rawValue: ARES_FLAG_STAYOPEN)
| |- warning: static property 'STAYOPEN' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STAYOPEN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | /// Do not use the default search domains; only query hostnames as-is or as aliases.
114 | public static let NOSEARCH = Flags(rawValue: ARES_FLAG_NOSEARCH)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:114:27: warning: static property 'NOSEARCH' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
112 | public static let STAYOPEN = Flags(rawValue: ARES_FLAG_STAYOPEN)
113 | /// Do not use the default search domains; only query hostnames as-is or as aliases.
114 | public static let NOSEARCH = Flags(rawValue: ARES_FLAG_NOSEARCH)
| |- warning: static property 'NOSEARCH' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOSEARCH' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | /// Do not honor the HOSTALIASES environment variable, which normally specifies a file of hostname translations.
116 | public static let NOALIASES = Flags(rawValue: ARES_FLAG_NOALIASES)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:116:27: warning: static property 'NOALIASES' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
114 | public static let NOSEARCH = Flags(rawValue: ARES_FLAG_NOSEARCH)
115 | /// Do not honor the HOSTALIASES environment variable, which normally specifies a file of hostname translations.
116 | public static let NOALIASES = Flags(rawValue: ARES_FLAG_NOALIASES)
| |- warning: static property 'NOALIASES' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOALIASES' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | /// Do not discard responses with the SERVFAIL, NOTIMP, or REFUSED response code or responses whose questions don't match the
118 | /// questions in the request. Primarily useful for writing clients which might be used to test or debug name servers.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:119:27: warning: static property 'NOCHECKRESP' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
117 | /// Do not discard responses with the SERVFAIL, NOTIMP, or REFUSED response code or responses whose questions don't match the
118 | /// questions in the request. Primarily useful for writing clients which might be used to test or debug name servers.
119 | public static let NOCHECKRESP = Flags(rawValue: ARES_FLAG_NOCHECKRESP)
| |- warning: static property 'NOCHECKRESP' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOCHECKRESP' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | /// Include an EDNS pseudo-resource record (RFC 2671) in generated requests.
121 | public static let EDNS = Flags(rawValue: ARES_FLAG_EDNS)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDNSResolver/c-ares/AresOptions.swift:121:27: warning: static property 'EDNS' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
92 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
93 | extension CAresDNSResolver.Options {
94 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
95 | public let rawValue: Int32
96 |
:
119 | public static let NOCHECKRESP = Flags(rawValue: ARES_FLAG_NOCHECKRESP)
120 | /// Include an EDNS pseudo-resource record (RFC 2671) in generated requests.
121 | public static let EDNS = Flags(rawValue: ARES_FLAG_EDNS)
| |- warning: static property 'EDNS' is not concurrency-safe because non-'Sendable' type 'CAresDNSResolver.Options.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EDNS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | }
123 | }
[73/73] Compiling AsyncDNSResolver AresChannel.swift
Build complete! (21.03s)
Build complete.
{
"c_language_standard" : "gnu11",
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-async-dns-resolver",
"name" : "swift-async-dns-resolver",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AsyncDNSResolver",
"targets" : [
"AsyncDNSResolver"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CAsyncDNSResolver",
"module_type" : "ClangTarget",
"name" : "CAsyncDNSResolver",
"path" : "Sources/CAsyncDNSResolver",
"product_memberships" : [
"AsyncDNSResolver"
],
"sources" : [
"c-ares/src/lib/ares__addrinfo2hostent.c",
"c-ares/src/lib/ares__addrinfo_localhost.c",
"c-ares/src/lib/ares__close_sockets.c",
"c-ares/src/lib/ares__get_hostent.c",
"c-ares/src/lib/ares__parse_into_addrinfo.c",
"c-ares/src/lib/ares__read_line.c",
"c-ares/src/lib/ares__readaddrinfo.c",
"c-ares/src/lib/ares__sortaddrinfo.c",
"c-ares/src/lib/ares__timeval.c",
"c-ares/src/lib/ares_android.c",
"c-ares/src/lib/ares_cancel.c",
"c-ares/src/lib/ares_create_query.c",
"c-ares/src/lib/ares_data.c",
"c-ares/src/lib/ares_destroy.c",
"c-ares/src/lib/ares_expand_name.c",
"c-ares/src/lib/ares_expand_string.c",
"c-ares/src/lib/ares_fds.c",
"c-ares/src/lib/ares_free_hostent.c",
"c-ares/src/lib/ares_free_string.c",
"c-ares/src/lib/ares_freeaddrinfo.c",
"c-ares/src/lib/ares_getaddrinfo.c",
"c-ares/src/lib/ares_getenv.c",
"c-ares/src/lib/ares_gethostbyaddr.c",
"c-ares/src/lib/ares_gethostbyname.c",
"c-ares/src/lib/ares_getnameinfo.c",
"c-ares/src/lib/ares_getsock.c",
"c-ares/src/lib/ares_init.c",
"c-ares/src/lib/ares_library_init.c",
"c-ares/src/lib/ares_llist.c",
"c-ares/src/lib/ares_mkquery.c",
"c-ares/src/lib/ares_nowarn.c",
"c-ares/src/lib/ares_options.c",
"c-ares/src/lib/ares_parse_a_reply.c",
"c-ares/src/lib/ares_parse_aaaa_reply.c",
"c-ares/src/lib/ares_parse_caa_reply.c",
"c-ares/src/lib/ares_parse_mx_reply.c",
"c-ares/src/lib/ares_parse_naptr_reply.c",
"c-ares/src/lib/ares_parse_ns_reply.c",
"c-ares/src/lib/ares_parse_ptr_reply.c",
"c-ares/src/lib/ares_parse_soa_reply.c",
"c-ares/src/lib/ares_parse_srv_reply.c",
"c-ares/src/lib/ares_parse_txt_reply.c",
"c-ares/src/lib/ares_parse_uri_reply.c",
"c-ares/src/lib/ares_platform.c",
"c-ares/src/lib/ares_process.c",
"c-ares/src/lib/ares_query.c",
"c-ares/src/lib/ares_rand.c",
"c-ares/src/lib/ares_search.c",
"c-ares/src/lib/ares_send.c",
"c-ares/src/lib/ares_strcasecmp.c",
"c-ares/src/lib/ares_strdup.c",
"c-ares/src/lib/ares_strerror.c",
"c-ares/src/lib/ares_strsplit.c",
"c-ares/src/lib/ares_timeout.c",
"c-ares/src/lib/ares_version.c",
"c-ares/src/lib/ares_writev.c",
"c-ares/src/lib/bitncmp.c",
"c-ares/src/lib/inet_net_pton.c",
"c-ares/src/lib/inet_ntop.c",
"c-ares/src/lib/windows_port.c"
],
"type" : "library"
},
{
"c99name" : "AsyncDNSResolverTests",
"module_type" : "SwiftTarget",
"name" : "AsyncDNSResolverTests",
"path" : "Tests/AsyncDNSResolverTests",
"sources" : [
"c-ares/AresChannelTests.swift",
"c-ares/AresErrorTests.swift",
"c-ares/AresOptionsTests.swift",
"c-ares/CAresDNSResolverTests.swift",
"dnssd/DNSDArraySliceTests.swift",
"dnssd/DNSSDDNSResolverTests.swift",
"dnssd/DNSSDErrorTests.swift"
],
"target_dependencies" : [
"AsyncDNSResolver"
],
"type" : "test"
},
{
"c99name" : "AsyncDNSResolver",
"module_type" : "SwiftTarget",
"name" : "AsyncDNSResolver",
"path" : "Sources/AsyncDNSResolver",
"product_memberships" : [
"AsyncDNSResolver"
],
"sources" : [
"AsyncDNSResolver.swift",
"Errors.swift",
"c-ares/AresChannel.swift",
"c-ares/AresOptions.swift",
"c-ares/DNSResolver_c-ares.swift",
"c-ares/Errors_c-ares.swift",
"dnssd/DNSResolver_dnssd.swift",
"dnssd/Errors_dnssd.swift"
],
"target_dependencies" : [
"CAsyncDNSResolver"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/apple/swift-async-dns-resolver/0.4.0
Repository: apple/swift-async-dns-resolver
Swift version used: 6.0
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
Target: AsyncDNSResolver
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'AsyncDNSResolver'...
Finished extracting symbol information for 'AsyncDNSResolver'. (3.17s)
Building documentation for 'AsyncDNSResolver'...
Finished building documentation for 'AsyncDNSResolver' (0.19s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/apple/swift-async-dns-resolver/0.4.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Identifier.swift
[8/57] Compiling SymbolKit KindIdentifier.swift
[9/57] Compiling SymbolKit Location.swift
[10/57] Compiling SymbolKit Mutability.swift
[11/57] Compiling SymbolKit Mixin+Equals.swift
[12/57] Compiling SymbolKit Mixin+Hash.swift
[13/57] Compiling SymbolKit Mixin.swift
[14/57] Compiling SymbolKit LineList.swift
[15/57] Compiling SymbolKit Position.swift
[16/57] Compiling SymbolKit Names.swift
[17/57] Compiling SymbolKit SPI.swift
[18/57] Compiling SymbolKit Snippet.swift
[19/57] Compiling SymbolKit Extension.swift
[20/57] Compiling SymbolKit GenericConstraint.swift
[21/57] Compiling SymbolKit GenericParameter.swift
[22/57] Compiling SymbolKit Generics.swift
[23/57] Compiling SymbolKit Namespace.swift
[24/57] Compiling SymbolKit DeclarationFragments.swift
[25/57] Compiling SymbolKit Fragment.swift
[26/57] Compiling SymbolKit FragmentKind.swift
[27/57] Compiling SymbolKit FunctionParameter.swift
[28/57] Compiling SymbolKit FunctionSignature.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit SemanticVersion.swift
[35/57] Compiling SymbolKit AccessControl.swift
[36/57] Compiling SymbolKit Availability.swift
[37/57] Compiling SymbolKit AvailabilityItem.swift
[38/57] Compiling SymbolKit Domain.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.14s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/10] Compiling AsyncDNSResolver Errors_dnssd.swift
[3/10] Compiling AsyncDNSResolver Errors_c-ares.swift
[4/10] Compiling AsyncDNSResolver DNSResolver_dnssd.swift
[5/10] Compiling AsyncDNSResolver Errors.swift
[6/10] Compiling AsyncDNSResolver AresOptions.swift
[7/10] Compiling AsyncDNSResolver AresChannel.swift
[8/10] Compiling AsyncDNSResolver AsyncDNSResolver.swift
[9/10] Compiling AsyncDNSResolver DNSResolver_c-ares.swift
[10/10] Emitting module AsyncDNSResolver
Build of target: 'AsyncDNSResolver' complete! (1.12s)
492
4 /Users/admin/builder/spi-builder-workspace/.docs/apple/swift-async-dns-resolver/0.4.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/apple/swift-async-dns-resolver/0.4.0
File count: 492
Doc size: 4.0MB
Preparing doc bundle ...
Uploading prod-apple-swift-async-dns-resolver-0.4.0-b9554304.zip to s3://spi-docs-inbox/prod-apple-swift-async-dns-resolver-0.4.0-b9554304.zip
Copying... [15%]
Copying... [23%]
Copying... [30%]
Copying... [46%]
Copying... [53%]
Copying... [61%]
Copying... [76%]
Copying... [83%]
Copying... [91%]
Copying... [100%]
Done.