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 Atlantis, reference main (861c25), with Swift 6.1 for macOS (SPM) on 1 May 2025 11:40:27 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ProxymanApp/atlantis.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ProxymanApp/atlantis
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 861c252 Fix warnings (#167)
Cloned https://github.com/ProxymanApp/atlantis.git
Revision (git rev-parse @):
861c2523736d532358ffc9a27c1c584a876e78f3
SUCCESS checkout https://github.com/ProxymanApp/atlantis.git at main
========================================
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": "atlantis",
      "name": "Atlantis",
      "url": "https://github.com/ProxymanApp/atlantis.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/atlantis",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ProxymanApp/atlantis.git
[1/1948] Fetching atlantis
Fetched https://github.com/ProxymanApp/atlantis.git from cache (1.16s)
Creating working copy for https://github.com/ProxymanApp/atlantis.git
Working copy of https://github.com/ProxymanApp/atlantis.git resolved at main (861c252)
warning: '.resolve-product-dependencies': dependency 'atlantis' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ProxymanApp/atlantis.git
https://github.com/ProxymanApp/atlantis.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Atlantis",
  "name" : "Atlantis",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Atlantis",
      "targets" : [
        "Atlantis"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Atlantis",
      "module_type" : "SwiftTarget",
      "name" : "Atlantis",
      "path" : "Sources",
      "product_memberships" : [
        "Atlantis"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Atlantis+Manual.swift",
        "Atlantis.swift",
        "AtlantisHelper.swift",
        "Configuration.swift",
        "DataCompression.swift",
        "DispatchQueue+Once.swift",
        "Message.swift",
        "NetworkInjector+URLSession.swift",
        "NetworkInjector.swift",
        "PackageIdentifier.swift",
        "Packages.swift",
        "Runtime.swift",
        "Transporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/17] Compiling Atlantis Runtime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime.swift:72:16: warning: static property 'AtlantisIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 | extension URLSessionTask {
 71 |
 72 |     static var AtlantisIDKey: UInt8 = 0
    |                |- warning: static property 'AtlantisIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'AtlantisIDKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'AtlantisIDKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |
 74 |     func setFromAtlantisFramework() {
[5/18] Compiling Atlantis NetworkInjector.swift
[6/18] Compiling Atlantis AtlantisHelper.swift
[7/18] Compiling Atlantis Configuration.swift
[8/18] Compiling Atlantis DataCompression.swift
/Users/admin/builder/spi-builder-workspace/Sources/DispatchQueue+Once.swift:12:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension DispatchQueue {
12 |     private static var _onceTracker = [String]()
   |                        |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_onceTracker' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     class func once(file: String = #file, function: String = #function, line: Int = #line, block: ()->Void) {
[9/18] Compiling Atlantis DispatchQueue+Once.swift
/Users/admin/builder/spi-builder-workspace/Sources/DispatchQueue+Once.swift:12:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension DispatchQueue {
12 |     private static var _onceTracker = [String]()
   |                        |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_onceTracker' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     class func once(file: String = #file, function: String = #function, line: Int = #line, block: ()->Void) {
[10/18] Emitting module Atlantis
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Atlantis' may have shared mutable state; this is an error in the Swift 6 language mode
 18 | /// Responsible to swizzle certain functions from URLSession
 19 | /// to capture the network and send to Proxyman app via Bonjour Service
 20 | public final class Atlantis: NSObject {
    |                    `- note: class 'Atlantis' does not conform to the 'Sendable' protocol
 21 |
 22 |     static let shared = Atlantis()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Atlantis' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     // MARK: - Components
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:39:24: warning: static property 'isServiceAvailable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |
 38 |     /// Check whether or not Bonjour Service is available in current devices
 39 |     private static var isServiceAvailable: Bool = {
    |                        |- warning: static property 'isServiceAvailable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isServiceAvailable' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isServiceAvailable' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |         #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:59:24: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |     /// Determine whether or not the Atlantis is active
 58 |     /// It must be wrapped into an atomic for safe-threads
 59 |     private static var isEnabled = Atomic<Bool>(false)
    |                        |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Determine whether or not the transport layer (e.g. Bonjour service) is enabled
/Users/admin/builder/spi-builder-workspace/Sources/DispatchQueue+Once.swift:12:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension DispatchQueue {
12 |     private static var _onceTracker = [String]()
   |                        |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_onceTracker' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     class func once(file: String = #file, function: String = #function, line: Int = #line, block: ()->Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PackageIdentifier.swift:13:16: warning: static property 'PackageIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | struct PackageIdentifier {
12 |
13 |     static var PackageIDKey: UInt8 = 0
   |                |- warning: static property 'PackageIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'PackageIDKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'PackageIDKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     static func getID(taskOrConnection: AnyObject) -> String {
/Users/admin/builder/spi-builder-workspace/Sources/Runtime.swift:72:16: warning: static property 'AtlantisIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 | extension URLSessionTask {
 71 |
 72 |     static var AtlantisIDKey: UInt8 = 0
    |                |- warning: static property 'AtlantisIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'AtlantisIDKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'AtlantisIDKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |
 74 |     func setFromAtlantisFramework() {
[11/18] Compiling Atlantis Atlantis+Manual.swift
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Atlantis' may have shared mutable state; this is an error in the Swift 6 language mode
 18 | /// Responsible to swizzle certain functions from URLSession
 19 | /// to capture the network and send to Proxyman app via Bonjour Service
 20 | public final class Atlantis: NSObject {
    |                    `- note: class 'Atlantis' does not conform to the 'Sendable' protocol
 21 |
 22 |     static let shared = Atlantis()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Atlantis' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     // MARK: - Components
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:39:24: warning: static property 'isServiceAvailable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |
 38 |     /// Check whether or not Bonjour Service is available in current devices
 39 |     private static var isServiceAvailable: Bool = {
    |                        |- warning: static property 'isServiceAvailable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isServiceAvailable' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isServiceAvailable' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |         #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:59:24: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |     /// Determine whether or not the Atlantis is active
 58 |     /// It must be wrapped into an atomic for safe-threads
 59 |     private static var isEnabled = Atomic<Bool>(false)
    |                        |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Determine whether or not the transport layer (e.g. Bonjour service) is enabled
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:446:17: warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
444 |             // Should be called from the Main thread since the Traffic is running on different threads
445 |             DispatchQueue.main.async {
446 |                 delegate.atlantisDidHaveNewPackage(package)
    |                 |- warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'delegate' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
447 |             }
448 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:446:52: warning: sending 'package' risks causing data races; this is an error in the Swift 6 language mode
444 |             // Should be called from the Main thread since the Traffic is running on different threads
445 |             DispatchQueue.main.async {
446 |                 delegate.atlantisDidHaveNewPackage(package)
    |                                                    |- warning: sending 'package' risks causing data races; this is an error in the Swift 6 language mode
    |                                                    `- note: task-isolated 'package' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
447 |             }
448 |         }
[12/18] Compiling Atlantis Atlantis.swift
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Atlantis' may have shared mutable state; this is an error in the Swift 6 language mode
 18 | /// Responsible to swizzle certain functions from URLSession
 19 | /// to capture the network and send to Proxyman app via Bonjour Service
 20 | public final class Atlantis: NSObject {
    |                    `- note: class 'Atlantis' does not conform to the 'Sendable' protocol
 21 |
 22 |     static let shared = Atlantis()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Atlantis' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     // MARK: - Components
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:39:24: warning: static property 'isServiceAvailable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |
 38 |     /// Check whether or not Bonjour Service is available in current devices
 39 |     private static var isServiceAvailable: Bool = {
    |                        |- warning: static property 'isServiceAvailable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isServiceAvailable' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isServiceAvailable' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |         #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:59:24: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |     /// Determine whether or not the Atlantis is active
 58 |     /// It must be wrapped into an atomic for safe-threads
 59 |     private static var isEnabled = Atomic<Bool>(false)
    |                        |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Determine whether or not the transport layer (e.g. Bonjour service) is enabled
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:446:17: warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
444 |             // Should be called from the Main thread since the Traffic is running on different threads
445 |             DispatchQueue.main.async {
446 |                 delegate.atlantisDidHaveNewPackage(package)
    |                 |- warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'delegate' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
447 |             }
448 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:446:52: warning: sending 'package' risks causing data races; this is an error in the Swift 6 language mode
444 |             // Should be called from the Main thread since the Traffic is running on different threads
445 |             DispatchQueue.main.async {
446 |                 delegate.atlantisDidHaveNewPackage(package)
    |                                                    |- warning: sending 'package' risks causing data races; this is an error in the Swift 6 language mode
    |                                                    `- note: task-isolated 'package' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
447 |             }
448 |         }
[13/18] Compiling Atlantis Transporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:89:36: warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure
 37 | }
 38 |
 39 | final class NetServiceTransport: NSObject {
    |             `- note: class 'NetServiceTransport' does not conform to the 'Sendable' protocol
 40 |
 41 |     struct Constants {
    :
 87 |
 88 |         queue.async {[weak self] in
 89 |             guard let strongSelf = self else { return }
    |                                    `- warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure
 90 |
 91 |             // Reset all current connections and browser if needed
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:118:36: warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure
 37 | }
 38 |
 39 | final class NetServiceTransport: NSObject {
    |             `- note: class 'NetServiceTransport' does not conform to the 'Sendable' protocol
 40 |
 41 |     struct Constants {
    :
116 |     func stop() {
117 |         queue.async {[weak self] in
118 |             guard let strongSelf = self else { return }
    |                                    `- warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure
119 |             strongSelf.stopInternal()
120 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:125:36: warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure
 37 | }
 38 |
 39 | final class NetServiceTransport: NSObject {
    |             `- note: class 'NetServiceTransport' does not conform to the 'Sendable' protocol
 40 |
 41 |     struct Constants {
    :
123 |     func send(package: Serializable) {
124 |         queue.async {[weak self] in
125 |             guard let strongSelf = self else { return }
    |                                    `- warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure
126 |
127 |             // Ensure we have at least one ready connection
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:130:48: warning: capture of 'package' with non-sendable type 'any Serializable' in a '@Sendable' closure
 21 | }
 22 |
 23 | protocol Serializable {
    |          `- note: protocol 'Serializable' does not conform to the 'Sendable' protocol
 24 |
 25 |     func toData() -> Data?
    :
128 |             guard strongSelf.connections.contains(where: { $0.state == .ready }) else {
129 |                 // If no connection is ready, append to pending list
130 |                 strongSelf.appendToPendingList(package)
    |                                                `- warning: capture of 'package' with non-sendable type 'any Serializable' in a '@Sendable' closure
131 |                 return
132 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:208:36: warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | final class NetServiceTransport: NSObject {
    |             `- note: class 'NetServiceTransport' does not conform to the 'Sendable' protocol
 40 |
 41 |     struct Constants {
    :
206 |
207 |         browser.stateUpdateHandler = {[weak self] newState in
208 |             guard let strongSelf = self else { return }
    |                                    `- warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
209 |             switch newState {
210 |             case .failed(let error):
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:267:36: warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | final class NetServiceTransport: NSObject {
    |             `- note: class 'NetServiceTransport' does not conform to the 'Sendable' protocol
 40 |
 41 |     struct Constants {
    :
265 |
266 |         browser.browseResultsChangedHandler = {[weak self] results, changes in
267 |             guard let strongSelf = self else { return }
    |                                    `- warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
268 |             for change in changes {
269 |                 switch change {
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:324:36: warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | final class NetServiceTransport: NSObject {
    |             `- note: class 'NetServiceTransport' does not conform to the 'Sendable' protocol
 40 |
 41 |     struct Constants {
    :
322 |     private func setupConnectionStateHandler(_ connection: NWConnection) {
323 |         connection.stateUpdateHandler = {[weak self] (newState) in
324 |             guard let strongSelf = self else { return }
    |                                    `- warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
325 |
326 |             let endpointDesc = connection.endpoint.debugDescription // Capture for logging
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:485:13: warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure
 37 | }
 38 |
 39 | final class NetServiceTransport: NSObject {
    |             `- note: class 'NetServiceTransport' does not conform to the 'Sendable' protocol
 40 |
 41 |     struct Constants {
    :
483 |         queue.async {[weak self] in
484 |             print("[Atlantis] Received memory warning. Clearing pending packages.")
485 |             self?.pendingPackages.removeAll()
    |             `- warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure
486 |         }
487 |     }
[14/18] Compiling Atlantis resource_bundle_accessor.swift
[15/18] Compiling Atlantis Message.swift
[16/18] Compiling Atlantis NetworkInjector+URLSession.swift
[17/18] Compiling Atlantis PackageIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackageIdentifier.swift:13:16: warning: static property 'PackageIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | struct PackageIdentifier {
12 |
13 |     static var PackageIDKey: UInt8 = 0
   |                |- warning: static property 'PackageIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'PackageIDKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'PackageIDKey' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     static func getID(taskOrConnection: AnyObject) -> String {
[18/18] Compiling Atlantis Packages.swift
/Users/admin/builder/spi-builder-workspace/Sources/Packages.swift:412:41: warning: main actor-isolated property 'applicationIconImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
410 |         #if os(OSX)
411 |         if Thread.isMainThread {
412 |             return NSApplication.shared.applicationIconImage
    |                                         `- warning: main actor-isolated property 'applicationIconImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
413 |         } else {
414 |             return DispatchQueue.main.sync {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:289:46: note: property declared here
287 | @property (nullable, strong) NSMenu *helpMenu API_AVAILABLE(macos(10.6));
288 |
289 | @property (null_resettable, strong) NSImage *applicationIconImage;
    |                                              `- note: property declared here
290 |
291 | /// @return The activation policy of the application.
/Users/admin/builder/spi-builder-workspace/Sources/Packages.swift:412:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
410 |         #if os(OSX)
411 |         if Thread.isMainThread {
412 |             return NSApplication.shared.applicationIconImage
    |                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
413 |         } else {
414 |             return DispatchQueue.main.sync {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
Build complete! (10.26s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Atlantis",
  "name" : "Atlantis",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Atlantis",
      "targets" : [
        "Atlantis"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Atlantis",
      "module_type" : "SwiftTarget",
      "name" : "Atlantis",
      "path" : "Sources",
      "product_memberships" : [
        "Atlantis"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Atlantis+Manual.swift",
        "Atlantis.swift",
        "AtlantisHelper.swift",
        "Configuration.swift",
        "DataCompression.swift",
        "DispatchQueue+Once.swift",
        "Message.swift",
        "NetworkInjector+URLSession.swift",
        "NetworkInjector.swift",
        "PackageIdentifier.swift",
        "Packages.swift",
        "Runtime.swift",
        "Transporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.