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 1.28.0 (92ca54), with Swift 6.1 for macOS (SPM) on 1 May 2025 11:40:15 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: 1.28.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ProxymanApp/atlantis
 * tag               1.28.0     -> FETCH_HEAD
HEAD is now at 92ca545 New APIs for macOS 15.4 issue (#164)
Cloned https://github.com/ProxymanApp/atlantis.git
Revision (git rev-parse @):
92ca545af63a4ff96eaeb8a662ffea29e1f47f08
SUCCESS checkout https://github.com/ProxymanApp/atlantis.git at 1.28.0
========================================
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.35s)
Creating working copy for https://github.com/ProxymanApp/atlantis.git
Working copy of https://github.com/ProxymanApp/atlantis.git resolved at 1.28.0 (92ca545)
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
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/17] 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) {
[5/17] 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) {
[6/17] Compiling Atlantis AtlantisHelper.swift
[7/17] Compiling Atlantis Configuration.swift
[8/17] 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 {
[9/17] 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() {
[10/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() {
[11/17] 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:226:17: warning: switch must be exhaustive
224 |             case .waiting(let error):
225 |
226 |                 switch error {
    |                 |- warning: switch must be exhaustive
    |                 |- note: add missing case: '.posix(_)'
    |                 |- note: add missing case: '.tls(_)'
    |                 `- note: add missing cases
227 |                 case .dns(let code):
228 |                     switch Int(code) {
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:209:13: warning: switch must be exhaustive
207 |         browser.stateUpdateHandler = {[weak self] newState in
208 |             guard let strongSelf = self else { return }
209 |             switch newState {
    |             |- warning: switch must be exhaustive
    |             `- note: add missing case: '.setup'
210 |             case .failed(let error):
211 |                 print("[Atlantis][Error] Bonjour Browser failed: \(error). Ensure network permissions and Bonjour service are correct.")
/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:261: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 {
    :
259 |
260 |         browser.browseResultsChangedHandler = {[weak self] results, changes in
261 |             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
262 |             for change in changes {
263 |                 switch change {
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:318: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 {
    :
316 |     private func setupConnectionStateHandler(_ connection: NWConnection) {
317 |         connection.stateUpdateHandler = {[weak self] (newState) in
318 |             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
319 |
320 |             let endpointDesc = connection.endpoint.debugDescription // Capture for logging
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:443:37: warning: immutable value 'type' was never used; consider replacing with '_' or removing it
441 |         case .hostPort(let host, _):
442 |             return "\(host)"
443 |         case .service(let name, let type, let domain, _):
    |                                     `- warning: immutable value 'type' was never used; consider replacing with '_' or removing it
444 |             // Extract hostname from service name (e.g., "MyMac._Proxyman._tcp.local.")
445 |             // This might need refinement based on actual service name formats
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:443:47: warning: immutable value 'domain' was never used; consider replacing with '_' or removing it
441 |         case .hostPort(let host, _):
442 |             return "\(host)"
443 |         case .service(let name, let type, let domain, _):
    |                                               `- warning: immutable value 'domain' was never used; consider replacing with '_' or removing it
444 |             // Extract hostname from service name (e.g., "MyMac._Proxyman._tcp.local.")
445 |             // This might need refinement based on actual service name formats
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:479: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 {
    :
477 |         queue.async {[weak self] in
478 |             print("[Atlantis] Received memory warning. Clearing pending packages.")
479 |             self?.pendingPackages.removeAll()
    |             `- warning: capture of 'self' with non-sendable type 'NetServiceTransport?' in a '@Sendable' closure
480 |         }
481 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Transporter.swift:495:9: warning: switch must be exhaustive
493 | extension NWEndpoint {
494 |     var debugDescription: String {
495 |         switch self {
    |         |- warning: switch must be exhaustive
    |         `- note: add missing case: '.opaque(_)'
496 |         case .hostPort(let host, let port):
497 |             return "\(host):\(port)"
[12/17] Compiling Atlantis Message.swift
[13/17] Compiling Atlantis NetworkInjector+URLSession.swift
[14/18] Compiling Atlantis resource_bundle_accessor.swift
[15/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 |         }
[16/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 |         }
[17/18] Compiling Atlantis NetworkInjector.swift
[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.18s)
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.