The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Atlantis, reference 1.35.0 (5d9828), with Swift 6.1 for macOS (SPM) on 1 May 2026 16:00:35 UTC.

Swift 6 data race errors: 7

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.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ProxymanApp/atlantis.git
Reference: 1.35.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ProxymanApp/atlantis
 * tag               1.35.0     -> FETCH_HEAD
HEAD is now at 5d9828a Update Atlantis.swift
Cloned https://github.com/ProxymanApp/atlantis.git
Revision (git rev-parse @):
5d9828a3a92e0410ecc89580ebbd912737b9e9fd
SUCCESS checkout https://github.com/ProxymanApp/atlantis.git at 1.35.0
========================================
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"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Atlantis",
      "targets" : [
        "Atlantis"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "AtlantisTests",
      "module_type" : "SwiftTarget",
      "name" : "AtlantisTests",
      "path" : "Tests/atlantisTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/atlantisTests/Resources/sse-server.js",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "atlantisTests.swift"
      ],
      "target_dependencies" : [
        "Atlantis"
      ],
      "type" : "test"
    },
    {
      "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",
        "URLSessionTask+CurrentRequest.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] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/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:41: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
 39 |
 40 |     /// Check whether or not Bonjour Service is available in current devices
 41 |     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
 42 |
 43 |         #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:61: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
 59 |     /// Determine whether or not the Atlantis is active
 60 |     /// It must be wrapped into an atomic for safe-threads
 61 |     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
 62 |
 63 |     /// Determine whether or not the transport layer (e.g. Bonjour service) is enabled
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:164:13: warning: var 'retainedTestTransporters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 | }
163 |
164 | private var retainedTestTransporters: [Transporter] = []
    |             |- warning: var 'retainedTestTransporters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'retainedTestTransporters' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'retainedTestTransporters' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | #endif
166 |
/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/NetworkInjector+URLSession.swift:155:32: warning: comparing non-optional value of type 'AnyObject' to 'nil' always returns true
153 |                 // when NewRelic interferes with method swizzling in airplane mode
154 |                 let safeData: Data? = {
155 |                     guard data != nil else { return nil }
    |                                `- warning: comparing non-optional value of type 'AnyObject' to 'nil' always returns true
156 |                     return data as? Data
157 |                 }()
/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() {
[5/19] 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 |     }
[6/19] Compiling Atlantis resource_bundle_accessor.swift
[7/19] Compiling Atlantis AtlantisHelper.swift
[8/19] Compiling Atlantis Configuration.swift
[9/19] Compiling Atlantis Packages.swift
/Users/admin/builder/spi-builder-workspace/Sources/Packages.swift:514: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
512 |         #if os(OSX)
513 |         if Thread.isMainThread {
514 |             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
515 |         } else {
516 |             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:514: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
512 |         #if os(OSX)
513 |         if Thread.isMainThread {
514 |             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
515 |         } else {
516 |             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 |
[10/19] Compiling Atlantis Message.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInjector+URLSession.swift:155:32: warning: comparing non-optional value of type 'AnyObject' to 'nil' always returns true
153 |                 // when NewRelic interferes with method swizzling in airplane mode
154 |                 let safeData: Data? = {
155 |                     guard data != nil else { return nil }
    |                                `- warning: comparing non-optional value of type 'AnyObject' to 'nil' always returns true
156 |                     return data as? Data
157 |                 }()
[11/19] Compiling Atlantis NetworkInjector+URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInjector+URLSession.swift:155:32: warning: comparing non-optional value of type 'AnyObject' to 'nil' always returns true
153 |                 // when NewRelic interferes with method swizzling in airplane mode
154 |                 let safeData: Data? = {
155 |                     guard data != nil else { return nil }
    |                                `- warning: comparing non-optional value of type 'AnyObject' to 'nil' always returns true
156 |                     return data as? Data
157 |                 }()
[12/19] 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:41: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
 39 |
 40 |     /// Check whether or not Bonjour Service is available in current devices
 41 |     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
 42 |
 43 |         #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:61: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
 59 |     /// Determine whether or not the Atlantis is active
 60 |     /// It must be wrapped into an atomic for safe-threads
 61 |     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
 62 |
 63 |     /// Determine whether or not the transport layer (e.g. Bonjour service) is enabled
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:164:13: warning: var 'retainedTestTransporters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 | }
163 |
164 | private var retainedTestTransporters: [Transporter] = []
    |             |- warning: var 'retainedTestTransporters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'retainedTestTransporters' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'retainedTestTransporters' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | #endif
166 |
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:493:17: warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
491 |             // Should be called from the Main thread since the Traffic is running on different threads
492 |             DispatchQueue.main.async {
493 |                 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
494 |             }
495 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:493:52: warning: sending 'package' risks causing data races; this is an error in the Swift 6 language mode
491 |             // Should be called from the Main thread since the Traffic is running on different threads
492 |             DispatchQueue.main.async {
493 |                 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
494 |             }
495 |         }
[13/19] 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:41: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
 39 |
 40 |     /// Check whether or not Bonjour Service is available in current devices
 41 |     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
 42 |
 43 |         #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:61: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
 59 |     /// Determine whether or not the Atlantis is active
 60 |     /// It must be wrapped into an atomic for safe-threads
 61 |     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
 62 |
 63 |     /// Determine whether or not the transport layer (e.g. Bonjour service) is enabled
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:164:13: warning: var 'retainedTestTransporters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 | }
163 |
164 | private var retainedTestTransporters: [Transporter] = []
    |             |- warning: var 'retainedTestTransporters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'retainedTestTransporters' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'retainedTestTransporters' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | #endif
166 |
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:493:17: warning: sending 'delegate' risks causing data races; this is an error in the Swift 6 language mode
491 |             // Should be called from the Main thread since the Traffic is running on different threads
492 |             DispatchQueue.main.async {
493 |                 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
494 |             }
495 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Atlantis.swift:493:52: warning: sending 'package' risks causing data races; this is an error in the Swift 6 language mode
491 |             // Should be called from the Main thread since the Traffic is running on different threads
492 |             DispatchQueue.main.async {
493 |                 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
494 |             }
495 |         }
[14/19] Compiling Atlantis NetworkInjector.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 {
[15/19] 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 {
[16/19] 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() {
[17/19] Compiling Atlantis URLSessionTask+CurrentRequest.swift
[18/19] 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) {
[19/19] 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) {
Build complete! (10.64s)
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"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Atlantis",
      "targets" : [
        "Atlantis"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "AtlantisTests",
      "module_type" : "SwiftTarget",
      "name" : "AtlantisTests",
      "path" : "Tests/atlantisTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/atlantisTests/Resources/sse-server.js",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "atlantisTests.swift"
      ],
      "target_dependencies" : [
        "Atlantis"
      ],
      "type" : "test"
    },
    {
      "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",
        "URLSessionTask+CurrentRequest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.