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

Successful build of swift-dns-service-discovery, reference main (70474b), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 07:39:07 UTC.

Swift 6 data race errors: 16

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

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-service-discovery.git
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-log
[1/1569] Fetching swift-atomics
[49/3607] Fetching swift-atomics, swift-docc-plugin
[131/4584] Fetching swift-atomics, swift-docc-plugin, swift-service-discovery
[711/8244] Fetching swift-atomics, swift-docc-plugin, swift-service-discovery, swift-log
[2428/11397] Fetching swift-atomics, swift-docc-plugin, swift-service-discovery, swift-log, swift-docc-symbolkit
Fetched https://github.com/apple/swift-service-discovery.git from cache (0.99s)
[2585/10420] Fetching swift-atomics, swift-docc-plugin, swift-log, swift-docc-symbolkit
Fetched https://github.com/apple/swift-atomics from cache (1.28s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.28s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Fetched https://github.com/apple/swift-log from cache (1.30s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.31s)
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (3.46s)
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.69s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.77s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.3 (0.70s)
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-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-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-service-discovery.git
Working copy of https://github.com/apple/swift-service-discovery.git resolved at 1.2.1
========================================
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-dns-service-discovery",
      "name": "swift-dns-service-discovery",
      "url": "https://github.com/fwcd/swift-dns-service-discovery.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-dns-service-discovery",
      "dependencies": [
        {
          "identity": "swift-service-discovery",
          "name": "swift-service-discovery",
          "url": "https://github.com/apple/swift-service-discovery.git",
          "version": "1.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-service-discovery",
          "dependencies": [
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log",
              "version": "1.6.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/fwcd/swift-dns-service-discovery.git
[1/457] Fetching swift-dns-service-discovery
Fetched https://github.com/fwcd/swift-dns-service-discovery.git from cache (0.94s)
Fetching https://github.com/apple/swift-service-discovery.git from cache
Fetched https://github.com/apple/swift-service-discovery.git from cache (0.46s)
Computing version for https://github.com/apple/swift-service-discovery.git
Computed https://github.com/apple/swift-service-discovery.git at 1.3.0 (0.03s)
Fetching https://github.com/apple/swift-log from cache
Fetching https://github.com/apple/swift-atomics from cache
Fetched https://github.com/apple/swift-atomics from cache (0.58s)
Fetched https://github.com/apple/swift-log from cache (0.58s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.54s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.1 (0.49s)
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
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-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/fwcd/swift-dns-service-discovery.git
Working copy of https://github.com/fwcd/swift-dns-service-discovery.git resolved at main (70474be)
warning: '.resolve-product-dependencies': dependency 'swift-dns-service-discovery' is not used by any target
Found 1 product dependencies
  - swift-service-discovery
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fwcd/swift-dns-service-discovery.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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/23] Write sources
[11/23] Write swift-version--7754E27361AE5C74.txt
[12/28] Compiling _AtomicsShims.c
[14/44] Compiling Atomics Primitives.native.swift
[15/45] Compiling Atomics AtomicLazyReference.swift
[16/45] Compiling Atomics HighLevelTypes.swift
[17/45] Compiling Atomics Unmanaged extensions.swift
[18/45] Compiling Atomics AtomicBool.swift
[19/45] Compiling Atomics AtomicRawRepresentable.swift
[20/45] Compiling Atomics AtomicStrongReference.swift
[21/45] Compiling Atomics AtomicValue.swift
[22/45] Compiling Atomics DoubleWord.swift
[23/45] Compiling Atomics PointerConformances.swift
[24/45] Compiling Atomics IntegerConformances.swift
[25/45] Compiling Atomics AtomicOptional.swift
[26/45] Compiling Atomics AtomicOptionalRawRepresentable.swift
[27/45] Compiling Atomics AtomicInteger.swift
[28/45] Compiling Atomics AtomicMemoryOrderings.swift
[29/45] Emitting module Atomics
[30/45] Compiling Logging MetadataProvider.swift
[31/45] Compiling Logging Locks.swift
[32/45] Compiling Logging LogHandler.swift
[33/45] Emitting module Logging
[34/45] Compiling Logging Logging.swift
[35/45] Compiling Atomics Primitives.shims.swift
[36/55] Compiling ServiceDiscovery ServiceDiscovery.swift
[37/55] Compiling ServiceDiscovery ServiceDiscovery+Combinators.swift
[38/55] Compiling ServiceDiscovery ServiceDiscovery+TypeErased.swift
[39/55] Compiling ServiceDiscovery MapServiceServiceDiscovery.swift
[40/55] Compiling ServiceDiscovery MapInstanceServiceDiscovery.swift
[41/55] Compiling ServiceDiscovery ServiceDiscovery+AsyncAwait.swift
[42/55] Compiling ServiceDiscovery FilterInstanceServiceDiscovery.swift
[43/55] Compiling ServiceDiscovery HostPort.swift
[44/55] Emitting module ServiceDiscovery
[45/55] Compiling ServiceDiscovery InMemoryServiceDiscovery.swift
[46/71] Compiling DNSServiceDiscovery DNSService+NetworkProtocol.swift
[47/72] Compiling DNSServiceDiscovery DNSService+Query.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Internal/DNSService+Query.swift:4:13: warning: var 'browseCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | private typealias Identifier = UnsafeMutableRawPointer
 4 | private var browseCallbacks: [Identifier: (Result<DNSService.FoundInstance, Error>) -> Void] = [:]
   |             |- warning: var 'browseCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'browseCallbacks' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'browseCallbacks' 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
 5 |
 6 | extension DNSService {
[48/72] Emitting module DNSServiceDiscovery
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:4:10: warning: associated value 'internal' of 'Sendable'-conforming enum 'DNSServiceError' has non-sendable type 'DNSServiceError.Internal'; this is an error in the Swift 6 language mode
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
 4 |     case `internal`(Internal)
   |          `- warning: associated value 'internal' of 'Sendable'-conforming enum 'DNSServiceError' has non-sendable type 'DNSServiceError.Internal'; this is an error in the Swift 6 language mode
 5 |     case invalidServiceType
 6 |     case invalidDomain
   :
13 |     // MIT-licensed (Copyright (c) 2019 Purgatory Design)
14 |
15 |     public enum Internal: CDNSSD.DNSServiceErrorType, Hashable {
   |                 `- note: consider making enum 'Internal' conform to the 'Sendable' protocol
16 |         case noError = 0                 // kDNSServiceErr_NoError
17 |         case unknown = -65537            // kDNSServiceErr_Unknown
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Domain.swift:6:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// A domain used for DNS-SD queries.
 2 | public struct Domain: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'Domain' conform to the 'Sendable' protocol
 3 |     /// The root domain.
 4 |     public static let root: Self = "."
 5 |     /// The local domain used by mDNS.
 6 |     public static let local: Self = "local."
   |                       |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'local' 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
 7 |
 8 |     public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:8:23: warning: static property 'dnsSdServices' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   |                       |- warning: static property 'dnsSdServices' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'dnsSdServices' 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
 9 |
10 |     // TODO: Add more service types, perhaps even auto-generate them via a macro or script?
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:13:23: warning: static property 'airplay' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
11 |
12 |     /// AirPlay 2 servers.
13 |     public static let airplay: Self = "_airplay._tcp"
   |                       |- warning: static property 'airplay' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'airplay' 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
14 |     /// iTunes/Apple Music Home Sharing, i.e. Digital Audio Access Protocol (DAAP) servers.
15 |     public static let homeSharing: Self = "_home-sharing._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:15:23: warning: static property 'homeSharing' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
13 |     public static let airplay: Self = "_airplay._tcp"
14 |     /// iTunes/Apple Music Home Sharing, i.e. Digital Audio Access Protocol (DAAP) servers.
15 |     public static let homeSharing: Self = "_home-sharing._tcp"
   |                       |- warning: static property 'homeSharing' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'homeSharing' 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
16 |     /// Hypertext Transfer Protocol (HTTP) servers.
17 |     public static let http: Self = "_http._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:17:23: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
15 |     public static let homeSharing: Self = "_home-sharing._tcp"
16 |     /// Hypertext Transfer Protocol (HTTP) servers.
17 |     public static let http: Self = "_http._tcp"
   |                       |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'http' 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
18 |     /// AirPlay 1 audio (AirTunes) servers.
19 |     public static let raop: Self = "_raop._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:19:23: warning: static property 'raop' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
17 |     public static let http: Self = "_http._tcp"
18 |     /// AirPlay 1 audio (AirTunes) servers.
19 |     public static let raop: Self = "_raop._tcp"
   |                       |- warning: static property 'raop' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'raop' 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
20 |     /// Secure File Transfer Protocol (SFTP) over SSH servers.
21 |     public static let sftpSsh: Self = "_sftp-ssh._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:21:23: warning: static property 'sftpSsh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
19 |     public static let raop: Self = "_raop._tcp"
20 |     /// Secure File Transfer Protocol (SFTP) over SSH servers.
21 |     public static let sftpSsh: Self = "_sftp-ssh._tcp"
   |                       |- warning: static property 'sftpSsh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'sftpSsh' 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
22 |     /// Secure Shell (SSH) servers.
23 |     public static let ssh: Self = "_ssh._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:23:23: warning: static property 'ssh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
21 |     public static let sftpSsh: Self = "_sftp-ssh._tcp"
22 |     /// Secure Shell (SSH) servers.
23 |     public static let ssh: Self = "_ssh._tcp"
   |                       |- warning: static property 'ssh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'ssh' 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
24 |     /// Server Message Block over TCP/IP servers.
25 |     public static let smb: Self = "_smb._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:25:23: warning: static property 'smb' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
23 |     public static let ssh: Self = "_ssh._tcp"
24 |     /// Server Message Block over TCP/IP servers.
25 |     public static let smb: Self = "_smb._tcp"
   |                       |- warning: static property 'smb' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'smb' 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
26 |
27 |     public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Domain.swift:4:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// A domain used for DNS-SD queries.
 2 | public struct Domain: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'Domain' conform to the 'Sendable' protocol
 3 |     /// The root domain.
 4 |     public static let root: Self = "."
   |                       |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'root' 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
 5 |     /// The local domain used by mDNS.
 6 |     public static let local: Self = "local."
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Internal/DNSService+Browse.swift:4:13: warning: var 'browseCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | private typealias Identifier = UnsafeMutableRawPointer
 4 | private var browseCallbacks: [Identifier: (Result<DNSService.FoundInstance, Error>) -> Void] = [:]
   |             |- warning: var 'browseCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'browseCallbacks' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'browseCallbacks' 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
 5 |
 6 | extension DNSService {
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Internal/DNSService+GetAddrInfo.swift:7:13: warning: var 'getAddrInfoCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | private typealias Identifier = UnsafeMutableRawPointer
 6 |
 7 | private var getAddrInfoCallbacks: [Identifier: (Result<AddressInfo, Error>) -> Void] = [:]
   |             |- warning: var 'getAddrInfoCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'getAddrInfoCallbacks' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'getAddrInfoCallbacks' 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
 8 |
 9 | extension DNSService {
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Internal/DNSService+Query.swift:4:13: warning: var 'browseCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | private typealias Identifier = UnsafeMutableRawPointer
 4 | private var browseCallbacks: [Identifier: (Result<DNSService.FoundInstance, Error>) -> Void] = [:]
   |             |- warning: var 'browseCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'browseCallbacks' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'browseCallbacks' 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
 5 |
 6 | extension DNSService {
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Internal/DNSService+Resolve.swift:12:13: warning: var 'resolveQueries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | private var resolveQueries: [Identifier: ResolveQuery] = [:]
   |             |- warning: var 'resolveQueries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'resolveQueries' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'resolveQueries' 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
13 |
14 | private func readCString(from pointer: UnsafePointer<UInt8>, in range: Range<Int>) -> String {
[49/72] Compiling DNSServiceDiscovery DNSService+Resolve.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Internal/DNSService+Resolve.swift:12:13: warning: var 'resolveQueries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | private var resolveQueries: [Identifier: ResolveQuery] = [:]
   |             |- warning: var 'resolveQueries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'resolveQueries' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'resolveQueries' 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
13 |
14 | private func readCString(from pointer: UnsafePointer<UInt8>, in range: Range<Int>) -> String {
[50/72] Compiling DNSServiceDiscovery DNSService+FoundInstance.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Internal/DNSService+GetAddrInfo.swift:7:13: warning: var 'getAddrInfoCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | private typealias Identifier = UnsafeMutableRawPointer
 6 |
 7 | private var getAddrInfoCallbacks: [Identifier: (Result<AddressInfo, Error>) -> Void] = [:]
   |             |- warning: var 'getAddrInfoCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'getAddrInfoCallbacks' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'getAddrInfoCallbacks' 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
 8 |
 9 | extension DNSService {
[51/72] Compiling DNSServiceDiscovery DNSService+GetAddrInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Internal/DNSService+GetAddrInfo.swift:7:13: warning: var 'getAddrInfoCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | private typealias Identifier = UnsafeMutableRawPointer
 6 |
 7 | private var getAddrInfoCallbacks: [Identifier: (Result<AddressInfo, Error>) -> Void] = [:]
   |             |- warning: var 'getAddrInfoCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'getAddrInfoCallbacks' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'getAddrInfoCallbacks' 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
 8 |
 9 | extension DNSService {
[52/72] Compiling DNSServiceDiscovery Domain.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Domain.swift:4:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// A domain used for DNS-SD queries.
 2 | public struct Domain: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'Domain' conform to the 'Sendable' protocol
 3 |     /// The root domain.
 4 |     public static let root: Self = "."
   |                       |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'root' 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
 5 |     /// The local domain used by mDNS.
 6 |     public static let local: Self = "local."
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Domain.swift:6:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// A domain used for DNS-SD queries.
 2 | public struct Domain: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'Domain' conform to the 'Sendable' protocol
 3 |     /// The root domain.
 4 |     public static let root: Self = "."
 5 |     /// The local domain used by mDNS.
 6 |     public static let local: Self = "local."
   |                       |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'local' 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
 7 |
 8 |     public let rawValue: String
[53/72] Compiling DNSServiceDiscovery IPAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Domain.swift:4:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// A domain used for DNS-SD queries.
 2 | public struct Domain: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'Domain' conform to the 'Sendable' protocol
 3 |     /// The root domain.
 4 |     public static let root: Self = "."
   |                       |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'root' 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
 5 |     /// The local domain used by mDNS.
 6 |     public static let local: Self = "local."
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Domain.swift:6:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// A domain used for DNS-SD queries.
 2 | public struct Domain: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'Domain' conform to the 'Sendable' protocol
 3 |     /// The root domain.
 4 |     public static let root: Self = "."
 5 |     /// The local domain used by mDNS.
 6 |     public static let local: Self = "local."
   |                       |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'local' 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
 7 |
 8 |     public let rawValue: String
[54/72] Compiling DNSServiceDiscovery DNSServiceError.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:4:10: warning: associated value 'internal' of 'Sendable'-conforming enum 'DNSServiceError' has non-sendable type 'DNSServiceError.Internal'; this is an error in the Swift 6 language mode
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
 4 |     case `internal`(Internal)
   |          `- warning: associated value 'internal' of 'Sendable'-conforming enum 'DNSServiceError' has non-sendable type 'DNSServiceError.Internal'; this is an error in the Swift 6 language mode
 5 |     case invalidServiceType
 6 |     case invalidDomain
   :
13 |     // MIT-licensed (Copyright (c) 2019 Purgatory Design)
14 |
15 |     public enum Internal: CDNSSD.DNSServiceErrorType, Hashable {
   |                 `- note: consider making enum 'Internal' conform to the 'Sendable' protocol
16 |         case noError = 0                 // kDNSServiceErr_NoError
17 |         case unknown = -65537            // kDNSServiceErr_Unknown
[55/72] Compiling DNSServiceDiscovery DNSServiceInstance.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceError.swift:4:10: warning: associated value 'internal' of 'Sendable'-conforming enum 'DNSServiceError' has non-sendable type 'DNSServiceError.Internal'; this is an error in the Swift 6 language mode
 2 |
 3 | public enum DNSServiceError: Error, Hashable {
 4 |     case `internal`(Internal)
   |          `- warning: associated value 'internal' of 'Sendable'-conforming enum 'DNSServiceError' has non-sendable type 'DNSServiceError.Internal'; this is an error in the Swift 6 language mode
 5 |     case invalidServiceType
 6 |     case invalidDomain
   :
13 |     // MIT-licensed (Copyright (c) 2019 Purgatory Design)
14 |
15 |     public enum Internal: CDNSSD.DNSServiceErrorType, Hashable {
   |                 `- note: consider making enum 'Internal' conform to the 'Sendable' protocol
16 |         case noError = 0                 // kDNSServiceErr_NoError
17 |         case unknown = -65537            // kDNSServiceErr_Unknown
[56/72] Compiling DNSServiceDiscovery DNSServiceQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Domain.swift:6:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// A domain used for DNS-SD queries.
 2 | public struct Domain: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'Domain' conform to the 'Sendable' protocol
 3 |     /// The root domain.
 4 |     public static let root: Self = "."
 5 |     /// The local domain used by mDNS.
 6 |     public static let local: Self = "local."
   |                       |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'local' 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
 7 |
 8 |     public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:8:23: warning: static property 'dnsSdServices' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   |                       |- warning: static property 'dnsSdServices' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'dnsSdServices' 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
 9 |
10 |     // TODO: Add more service types, perhaps even auto-generate them via a macro or script?
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:13:23: warning: static property 'airplay' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
11 |
12 |     /// AirPlay 2 servers.
13 |     public static let airplay: Self = "_airplay._tcp"
   |                       |- warning: static property 'airplay' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'airplay' 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
14 |     /// iTunes/Apple Music Home Sharing, i.e. Digital Audio Access Protocol (DAAP) servers.
15 |     public static let homeSharing: Self = "_home-sharing._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:15:23: warning: static property 'homeSharing' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
13 |     public static let airplay: Self = "_airplay._tcp"
14 |     /// iTunes/Apple Music Home Sharing, i.e. Digital Audio Access Protocol (DAAP) servers.
15 |     public static let homeSharing: Self = "_home-sharing._tcp"
   |                       |- warning: static property 'homeSharing' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'homeSharing' 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
16 |     /// Hypertext Transfer Protocol (HTTP) servers.
17 |     public static let http: Self = "_http._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:17:23: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
15 |     public static let homeSharing: Self = "_home-sharing._tcp"
16 |     /// Hypertext Transfer Protocol (HTTP) servers.
17 |     public static let http: Self = "_http._tcp"
   |                       |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'http' 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
18 |     /// AirPlay 1 audio (AirTunes) servers.
19 |     public static let raop: Self = "_raop._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:19:23: warning: static property 'raop' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
17 |     public static let http: Self = "_http._tcp"
18 |     /// AirPlay 1 audio (AirTunes) servers.
19 |     public static let raop: Self = "_raop._tcp"
   |                       |- warning: static property 'raop' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'raop' 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
20 |     /// Secure File Transfer Protocol (SFTP) over SSH servers.
21 |     public static let sftpSsh: Self = "_sftp-ssh._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:21:23: warning: static property 'sftpSsh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
19 |     public static let raop: Self = "_raop._tcp"
20 |     /// Secure File Transfer Protocol (SFTP) over SSH servers.
21 |     public static let sftpSsh: Self = "_sftp-ssh._tcp"
   |                       |- warning: static property 'sftpSsh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'sftpSsh' 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
22 |     /// Secure Shell (SSH) servers.
23 |     public static let ssh: Self = "_ssh._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:23:23: warning: static property 'ssh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
21 |     public static let sftpSsh: Self = "_sftp-ssh._tcp"
22 |     /// Secure Shell (SSH) servers.
23 |     public static let ssh: Self = "_ssh._tcp"
   |                       |- warning: static property 'ssh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'ssh' 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
24 |     /// Server Message Block over TCP/IP servers.
25 |     public static let smb: Self = "_smb._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:25:23: warning: static property 'smb' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
23 |     public static let ssh: Self = "_ssh._tcp"
24 |     /// Server Message Block over TCP/IP servers.
25 |     public static let smb: Self = "_smb._tcp"
   |                       |- warning: static property 'smb' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'smb' 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
26 |
27 |     public let rawValue: String
[57/72] Compiling DNSServiceDiscovery DNSServiceType.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Domain.swift:6:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// A domain used for DNS-SD queries.
 2 | public struct Domain: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'Domain' conform to the 'Sendable' protocol
 3 |     /// The root domain.
 4 |     public static let root: Self = "."
 5 |     /// The local domain used by mDNS.
 6 |     public static let local: Self = "local."
   |                       |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'Domain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'local' 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
 7 |
 8 |     public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:8:23: warning: static property 'dnsSdServices' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   |                       |- warning: static property 'dnsSdServices' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'dnsSdServices' 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
 9 |
10 |     // TODO: Add more service types, perhaps even auto-generate them via a macro or script?
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:13:23: warning: static property 'airplay' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
11 |
12 |     /// AirPlay 2 servers.
13 |     public static let airplay: Self = "_airplay._tcp"
   |                       |- warning: static property 'airplay' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'airplay' 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
14 |     /// iTunes/Apple Music Home Sharing, i.e. Digital Audio Access Protocol (DAAP) servers.
15 |     public static let homeSharing: Self = "_home-sharing._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:15:23: warning: static property 'homeSharing' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
13 |     public static let airplay: Self = "_airplay._tcp"
14 |     /// iTunes/Apple Music Home Sharing, i.e. Digital Audio Access Protocol (DAAP) servers.
15 |     public static let homeSharing: Self = "_home-sharing._tcp"
   |                       |- warning: static property 'homeSharing' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'homeSharing' 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
16 |     /// Hypertext Transfer Protocol (HTTP) servers.
17 |     public static let http: Self = "_http._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:17:23: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
15 |     public static let homeSharing: Self = "_home-sharing._tcp"
16 |     /// Hypertext Transfer Protocol (HTTP) servers.
17 |     public static let http: Self = "_http._tcp"
   |                       |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'http' 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
18 |     /// AirPlay 1 audio (AirTunes) servers.
19 |     public static let raop: Self = "_raop._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:19:23: warning: static property 'raop' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
17 |     public static let http: Self = "_http._tcp"
18 |     /// AirPlay 1 audio (AirTunes) servers.
19 |     public static let raop: Self = "_raop._tcp"
   |                       |- warning: static property 'raop' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'raop' 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
20 |     /// Secure File Transfer Protocol (SFTP) over SSH servers.
21 |     public static let sftpSsh: Self = "_sftp-ssh._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:21:23: warning: static property 'sftpSsh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
19 |     public static let raop: Self = "_raop._tcp"
20 |     /// Secure File Transfer Protocol (SFTP) over SSH servers.
21 |     public static let sftpSsh: Self = "_sftp-ssh._tcp"
   |                       |- warning: static property 'sftpSsh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'sftpSsh' 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
22 |     /// Secure Shell (SSH) servers.
23 |     public static let ssh: Self = "_ssh._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:23:23: warning: static property 'ssh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
21 |     public static let sftpSsh: Self = "_sftp-ssh._tcp"
22 |     /// Secure Shell (SSH) servers.
23 |     public static let ssh: Self = "_ssh._tcp"
   |                       |- warning: static property 'ssh' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'ssh' 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
24 |     /// Server Message Block over TCP/IP servers.
25 |     public static let smb: Self = "_smb._tcp"
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceType.swift:25:23: warning: static property 'smb' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
 4 | /// - http://www.dns-sd.org/servicetypes.html
 5 | /// - https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
 6 | public struct DNSServiceType: RawRepresentable, ExpressibleByStringLiteral, Hashable, CustomStringConvertible {
   |               `- note: consider making struct 'DNSServiceType' conform to the 'Sendable' protocol
 7 |     /// A DNS-service whose instances resolve to available DNS-SD service types.
 8 |     public static let dnsSdServices: Self = "_services._dns-sd._udp"
   :
23 |     public static let ssh: Self = "_ssh._tcp"
24 |     /// Server Message Block over TCP/IP servers.
25 |     public static let smb: Self = "_smb._tcp"
   |                       |- warning: static property 'smb' is not concurrency-safe because non-'Sendable' type 'DNSServiceType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'smb' 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
26 |
27 |     public let rawValue: String
[58/72] Compiling DNSServiceDiscovery AddressInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceDiscovery.swift:36:16: warning: capture of 'self' with non-sendable type 'DNSServiceDiscovery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 | /// A facility for performing discovery of DNS service instances.
  6 | /// Callbacks will be scheduled on an internal queue.
  7 | public class DNSServiceDiscovery: ServiceDiscovery {
    |              `- note: class 'DNSServiceDiscovery' does not conform to the 'Sendable' protocol
  8 |     /// The queue on which callbacks will be scheduled.
  9 |     private let queue: DispatchQueue
    :
 34 |
 35 |         queue.asyncAfter(deadline: deadline) { [self] in
 36 |             if activeServices[uuid] != nil {
    |                `- warning: capture of 'self' with non-sendable type 'DNSServiceDiscovery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 37 |                 finish(with: .success(instances))
 38 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceDiscovery.swift:37:17: warning: capture of 'finish(with:)' with non-sendable type '(Result<[DNSServiceInstance], any Error>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |         queue.asyncAfter(deadline: deadline) { [self] in
 36 |             if activeServices[uuid] != nil {
 37 |                 finish(with: .success(instances))
    |                 |- warning: capture of 'finish(with:)' with non-sendable type '(Result<[DNSServiceInstance], any Error>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 38 |             }
 39 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceDiscovery.swift:37:39: warning: capture of 'instances' with non-sendable type '[DNSServiceInstance]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |         queue.asyncAfter(deadline: deadline) { [self] in
 36 |             if activeServices[uuid] != nil {
 37 |                 finish(with: .success(instances))
    |                                       `- warning: capture of 'instances' with non-sendable type '[DNSServiceInstance]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 38 |             }
 39 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceInstance.swift:2:15: note: consider making struct 'DNSServiceInstance' conform to the 'Sendable' protocol
 1 | /// A discovered service instance.
 2 | public struct DNSServiceInstance: Hashable {
   |               `- note: consider making struct 'DNSServiceInstance' conform to the 'Sendable' protocol
 3 |     /// The instance name.
 4 |     public var name: String
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceDiscovery.swift:30:14: warning: concurrently-executed local function 'finish(with:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 28 |         var instances: [DNSServiceInstance] = []
 29 |
 30 |         func finish(with result: Result<[DNSServiceInstance], Error>) {
    |              `- warning: concurrently-executed local function 'finish(with:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 31 |             activeServices[uuid] = nil
 32 |             callback(result)
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceDiscovery.swift:37:39: warning: reference to captured var 'instances' in concurrently-executing code; this is an error in the Swift 6 language mode
 35 |         queue.asyncAfter(deadline: deadline) { [self] in
 36 |             if activeServices[uuid] != nil {
 37 |                 finish(with: .success(instances))
    |                                       `- warning: reference to captured var 'instances' in concurrently-executing code; this is an error in the Swift 6 language mode
 38 |             }
 39 |         }
[59/72] Compiling DNSServiceDiscovery DNSServiceDiscovery.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceDiscovery.swift:36:16: warning: capture of 'self' with non-sendable type 'DNSServiceDiscovery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 | /// A facility for performing discovery of DNS service instances.
  6 | /// Callbacks will be scheduled on an internal queue.
  7 | public class DNSServiceDiscovery: ServiceDiscovery {
    |              `- note: class 'DNSServiceDiscovery' does not conform to the 'Sendable' protocol
  8 |     /// The queue on which callbacks will be scheduled.
  9 |     private let queue: DispatchQueue
    :
 34 |
 35 |         queue.asyncAfter(deadline: deadline) { [self] in
 36 |             if activeServices[uuid] != nil {
    |                `- warning: capture of 'self' with non-sendable type 'DNSServiceDiscovery' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 37 |                 finish(with: .success(instances))
 38 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceDiscovery.swift:37:17: warning: capture of 'finish(with:)' with non-sendable type '(Result<[DNSServiceInstance], any Error>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |         queue.asyncAfter(deadline: deadline) { [self] in
 36 |             if activeServices[uuid] != nil {
 37 |                 finish(with: .success(instances))
    |                 |- warning: capture of 'finish(with:)' with non-sendable type '(Result<[DNSServiceInstance], any Error>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 38 |             }
 39 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceDiscovery.swift:37:39: warning: capture of 'instances' with non-sendable type '[DNSServiceInstance]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |         queue.asyncAfter(deadline: deadline) { [self] in
 36 |             if activeServices[uuid] != nil {
 37 |                 finish(with: .success(instances))
    |                                       `- warning: capture of 'instances' with non-sendable type '[DNSServiceInstance]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 38 |             }
 39 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceInstance.swift:2:15: note: consider making struct 'DNSServiceInstance' conform to the 'Sendable' protocol
 1 | /// A discovered service instance.
 2 | public struct DNSServiceInstance: Hashable {
   |               `- note: consider making struct 'DNSServiceInstance' conform to the 'Sendable' protocol
 3 |     /// The instance name.
 4 |     public var name: String
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceDiscovery.swift:30:14: warning: concurrently-executed local function 'finish(with:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 28 |         var instances: [DNSServiceInstance] = []
 29 |
 30 |         func finish(with result: Result<[DNSServiceInstance], Error>) {
    |              `- warning: concurrently-executed local function 'finish(with:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 31 |             activeServices[uuid] = nil
 32 |             callback(result)
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceDiscovery.swift:37:39: warning: reference to captured var 'instances' in concurrently-executing code; this is an error in the Swift 6 language mode
 35 |         queue.asyncAfter(deadline: deadline) { [self] in
 36 |             if activeServices[uuid] != nil {
 37 |                 finish(with: .success(instances))
    |                                       `- warning: reference to captured var 'instances' in concurrently-executing code; this is an error in the Swift 6 language mode
 38 |             }
 39 |         }
[60/72] Compiling DNSServiceDiscovery DNSService+Browse.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Internal/DNSService+Browse.swift:4:13: warning: var 'browseCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | private typealias Identifier = UnsafeMutableRawPointer
 4 | private var browseCallbacks: [Identifier: (Result<DNSService.FoundInstance, Error>) -> Void] = [:]
   |             |- warning: var 'browseCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'browseCallbacks' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'browseCallbacks' 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
 5 |
 6 | extension DNSService {
[61/72] Compiling DNSServiceDiscovery DNSService+Flags.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/Internal/DNSService+Browse.swift:4:13: warning: var 'browseCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | private typealias Identifier = UnsafeMutableRawPointer
 4 | private var browseCallbacks: [Identifier: (Result<DNSService.FoundInstance, Error>) -> Void] = [:]
   |             |- warning: var 'browseCallbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'browseCallbacks' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: annotate 'browseCallbacks' 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
 5 |
 6 | extension DNSService {
[62/72] Compiling DNSServiceDiscovery DNSService.swift
[63/82] Compiling BrowseAsync BrowseAsync.swift
/Users/admin/builder/spi-builder-workspace/Snippets/BrowseAsync.swift:8:34: warning: non-sendable type '[DNSServiceInstance]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 6 | if #available(macOS 12, *) {
 7 |     print("Browsing...")
 8 |     let instances = try await sd.lookup(DNSServiceQuery(type: .dnsSdServices))
   |                                  `- warning: non-sendable type '[DNSServiceInstance]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 9 |
10 |     for instance in instances {
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceInstance.swift:2:15: note: struct 'DNSServiceInstance' does not conform to the 'Sendable' protocol
 1 | /// A discovered service instance.
 2 | public struct DNSServiceInstance: Hashable {
   |               `- note: struct 'DNSServiceInstance' does not conform to the 'Sendable' protocol
 3 |     /// The instance name.
 4 |     public var name: String
/Users/admin/builder/spi-builder-workspace/Snippets/BrowseAsync.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DNSServiceDiscovery'
 1 | import DNSServiceDiscovery
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DNSServiceDiscovery'
 2 | import Dispatch
 3 |
[64/82] Emitting module BrowseAsync
/Users/admin/builder/spi-builder-workspace/Snippets/BrowseAsync.swift:8:34: warning: non-sendable type '[DNSServiceInstance]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 6 | if #available(macOS 12, *) {
 7 |     print("Browsing...")
 8 |     let instances = try await sd.lookup(DNSServiceQuery(type: .dnsSdServices))
   |                                  `- warning: non-sendable type '[DNSServiceInstance]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 9 |
10 |     for instance in instances {
/Users/admin/builder/spi-builder-workspace/Sources/DNSServiceDiscovery/DNSServiceInstance.swift:2:15: note: struct 'DNSServiceInstance' does not conform to the 'Sendable' protocol
 1 | /// A discovered service instance.
 2 | public struct DNSServiceInstance: Hashable {
   |               `- note: struct 'DNSServiceInstance' does not conform to the 'Sendable' protocol
 3 |     /// The instance name.
 4 |     public var name: String
/Users/admin/builder/spi-builder-workspace/Snippets/BrowseAsync.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DNSServiceDiscovery'
 1 | import DNSServiceDiscovery
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DNSServiceDiscovery'
 2 | import Dispatch
 3 |
[64/82] Write Objects.LinkFileList
[66/82] Emitting module SubscribeToAirPlayServers
[67/82] Compiling SubscribeToAirPlayServers SubscribeToAirPlayServers.swift
[68/82] Emitting module BrowseSSHServers
[69/82] Compiling BrowseSSHServers BrowseSSHServers.swift
[70/82] Compiling BrowseAllServices BrowseAllServices.swift
[71/82] Emitting module BrowseAllServices
[71/82] Write Objects.LinkFileList
[75/82] Compiling ResolveAirPlayServers ResolveAirPlayServers.swift
[76/82] Emitting module ResolveAirPlayServers
[76/82] Write Objects.LinkFileList
[77/82] Linking BrowseAsync
[78/82] Linking SubscribeToAirPlayServers
[79/82] Linking BrowseSSHServers
[80/82] Linking BrowseAllServices
[81/82] Linking ResolveAirPlayServers
Build complete! (31.63s)
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for avahi-compat-libdns_sd
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-service-discovery",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-service-discovery.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "swift-dns-service-discovery",
  "name" : "swift-dns-service-discovery",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DNSServiceDiscovery",
      "targets" : [
        "DNSServiceDiscovery"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SubscribeToAirPlayServers",
      "targets" : [
        "SubscribeToAirPlayServers"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "BrowseAllServices",
      "targets" : [
        "BrowseAllServices"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "ResolveAirPlayServers",
      "targets" : [
        "ResolveAirPlayServers"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "BrowseAsync",
      "targets" : [
        "BrowseAsync"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "BrowseSSHServers",
      "targets" : [
        "BrowseSSHServers"
      ],
      "type" : {
        "snippet" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DNSServiceDiscoveryTests",
      "module_type" : "SwiftTarget",
      "name" : "DNSServiceDiscoveryTests",
      "path" : "Tests/DNSServiceDiscoveryTests",
      "sources" : [
        "DNSServiceDiscoveryTests.swift"
      ],
      "target_dependencies" : [
        "DNSServiceDiscovery"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DNSServiceDiscovery",
      "module_type" : "SwiftTarget",
      "name" : "DNSServiceDiscovery",
      "path" : "Sources/DNSServiceDiscovery",
      "product_dependencies" : [
        "ServiceDiscovery"
      ],
      "product_memberships" : [
        "DNSServiceDiscovery",
        "SubscribeToAirPlayServers",
        "BrowseAllServices",
        "ResolveAirPlayServers",
        "BrowseAsync",
        "BrowseSSHServers"
      ],
      "sources" : [
        "AddressInfo.swift",
        "DNSServiceDiscovery.swift",
        "DNSServiceError.swift",
        "DNSServiceInstance.swift",
        "DNSServiceQuery.swift",
        "DNSServiceType.swift",
        "Domain.swift",
        "IPAddress.swift",
        "Internal/DNSService+Browse.swift",
        "Internal/DNSService+Flags.swift",
        "Internal/DNSService+FoundInstance.swift",
        "Internal/DNSService+GetAddrInfo.swift",
        "Internal/DNSService+NetworkProtocol.swift",
        "Internal/DNSService+Query.swift",
        "Internal/DNSService+Resolve.swift",
        "Internal/DNSService.swift"
      ],
      "target_dependencies" : [
        "CDNSSD"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CDNSSD",
      "module_type" : "SystemLibraryTarget",
      "name" : "CDNSSD",
      "path" : "Sources/CDNSSD",
      "product_memberships" : [
        "DNSServiceDiscovery",
        "SubscribeToAirPlayServers",
        "BrowseAllServices",
        "ResolveAirPlayServers",
        "BrowseAsync",
        "BrowseSSHServers"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "SubscribeToAirPlayServers",
      "module_type" : "SwiftTarget",
      "name" : "SubscribeToAirPlayServers",
      "path" : "Snippets",
      "product_memberships" : [
        "SubscribeToAirPlayServers"
      ],
      "sources" : [
        "SubscribeToAirPlayServers.swift"
      ],
      "target_dependencies" : [
        "DNSServiceDiscovery"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "BrowseAllServices",
      "module_type" : "SwiftTarget",
      "name" : "BrowseAllServices",
      "path" : "Snippets",
      "product_memberships" : [
        "BrowseAllServices"
      ],
      "sources" : [
        "BrowseAllServices.swift"
      ],
      "target_dependencies" : [
        "DNSServiceDiscovery"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "ResolveAirPlayServers",
      "module_type" : "SwiftTarget",
      "name" : "ResolveAirPlayServers",
      "path" : "Snippets",
      "product_memberships" : [
        "ResolveAirPlayServers"
      ],
      "sources" : [
        "ResolveAirPlayServers.swift"
      ],
      "target_dependencies" : [
        "DNSServiceDiscovery"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "BrowseAsync",
      "module_type" : "SwiftTarget",
      "name" : "BrowseAsync",
      "path" : "Snippets",
      "product_memberships" : [
        "BrowseAsync"
      ],
      "sources" : [
        "BrowseAsync.swift"
      ],
      "target_dependencies" : [
        "DNSServiceDiscovery"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "BrowseSSHServers",
      "module_type" : "SwiftTarget",
      "name" : "BrowseSSHServers",
      "path" : "Snippets",
      "product_memberships" : [
        "BrowseSSHServers"
      ],
      "sources" : [
        "BrowseSSHServers.swift"
      ],
      "target_dependencies" : [
        "DNSServiceDiscovery"
      ],
      "type" : "snippet"
    }
  ],
  "tools_version" : "5.8"
}
Done.