The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AppySDK, reference 1.0.0 (a47045), with Swift 6.1 for macOS (SPM) on 5 Nov 2026 14:36:29 UTC.

Swift 6 data race errors: 0

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: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appy-to/appy-ios-sdk.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/appy-to/appy-ios-sdk
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at a47045c Publish Appy iOS SDK 1.0.0 with installation guide
Cloned https://github.com/appy-to/appy-ios-sdk.git
Revision (git rev-parse @):
a47045ca8bab9037acf55a717bcdfaceecad1ded
SUCCESS checkout https://github.com/appy-to/appy-ios-sdk.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/appy-to/appy-ios-sdk.git
https://github.com/appy-to/appy-ios-sdk.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AppySDK",
  "name" : "AppySDK",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AppySDK",
      "targets" : [
        "AppySDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "AppySDKTests",
      "module_type" : "SwiftTarget",
      "name" : "AppySDKTests",
      "path" : "Tests/AppySDKTests",
      "sources" : [
        "AdNetworkTests.swift",
        "DeduplicationTests.swift",
        "DeliveryTests.swift",
        "EmailLinkTests.swift",
        "EventTests.swift",
        "FirstLaunchTests.swift",
        "Harness.swift",
        "NetworkAndLinkTests.swift",
        "OpenTests.swift",
        "PrivacyManifestTests.swift",
        "Support.swift"
      ],
      "target_dependencies" : [
        "AppySDK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppySDK",
      "module_type" : "SwiftTarget",
      "name" : "AppySDK",
      "path" : "Sources/AppySDK",
      "product_memberships" : [
        "AppySDK"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Appy.swift",
        "AppyTypes.swift",
        "Delivery.swift",
        "EmailLinks.swift",
        "Events.swift",
        "Links.swift",
        "Network.swift",
        "Platform.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/13] Compiling AppySDK EmailLinks.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/EmailLinks.swift:31:28: warning: capture of 'completion' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure
29 |                     let reason = http.map { "HTTP \($0.statusCode) without a redirect" } ?? error?.localizedDescription ?? "no response"
30 |                     self.log(.warning, "Could not resolve the email link \(url.absoluteString): \(reason).")
31 |                     return completion(nil)
   |                            |- warning: capture of 'completion' with non-sendable type '(URL?) -> Void' in a '@Sendable' closure
   |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
32 |                 }
33 |                 guard self.isEmailLink(next) else { return completion(next) }
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/EmailLinks.swift:25:27: warning: reference to captured var 'self' in concurrently-executing code
23 |         transport.send(request) { [weak self] _, response, error in
24 |             self?.queue.async {
25 |                 guard let self else { return }
   |                           `- warning: reference to captured var 'self' in concurrently-executing code
26 |                 let http = response as? HTTPURLResponse
27 |                 let location = http.flatMap { (300...399).contains($0.statusCode) ? $0.value(forHTTPHeaderField: "Location") : nil }
[5/13] Compiling AppySDK Events.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Events.swift:10:41: warning: capture of 'properties' with non-sendable type '[String : Any]' in a '@Sendable' closure
  8 |     public func track(_ name: String, properties: [String: Any] = [:], revenue: Decimal? = nil, currency: String? = nil, deduplicationId: String? = nil) {
  9 |         let timestamp = now()
 10 |         queue.async { self.record(name, properties, revenue, currency, deduplicationId, at: timestamp) }
    |                                         `- warning: capture of 'properties' with non-sendable type '[String : Any]' in a '@Sendable' closure
 11 |     }
 12 |
[6/13] Compiling AppySDK Platform.swift
[7/13] Compiling AppySDK resource_bundle_accessor.swift
[8/13] Compiling AppySDK Links.swift
[9/13] Emitting module AppySDK
[10/13] Compiling AppySDK Appy.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Appy.swift:70:100: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
 68 |         self.eventsFile = eventsFile
 69 |         self.now = now
 70 |         self.after = after ?? { delay, work in queue.asyncAfter(deadline: .now() + delay, execute: work) }
    |                                        |                                                           `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
    |                                        `- note: parameter 'work' is implicitly non-sendable
 71 |         logSink = log
 72 |         self.openURL = openURL
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Appy.swift:91:45: warning: capture of 'newValue' with non-sendable type '((AppyDeepLinkResult) -> Void)?' in a '@Sendable' closure
 89 |     public var onDeepLink: ((AppyDeepLinkResult) -> Void)? {
 90 |         get { queue.sync { handler } }
 91 |         set { queue.async { self.setHandler(newValue) } }
    |                                             |- warning: capture of 'newValue' with non-sendable type '((AppyDeepLinkResult) -> Void)?' in a '@Sendable' closure
    |                                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 92 |     }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Appy.swift:96:56: warning: capture of 'newValue' with non-sendable type '((AppyAttribution) -> Void)?' in a '@Sendable' closure
 94 |     public var onAttribution: ((AppyAttribution) -> Void)? {
 95 |         get { queue.sync { attributionHandler } }
 96 |         set { queue.async { self.setAttributionHandler(newValue) } }
    |                                                        |- warning: capture of 'newValue' with non-sendable type '((AppyAttribution) -> Void)?' in a '@Sendable' closure
    |                                                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 97 |     }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Appy.swift:155:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
153 |             captureDevice()
154 |         } else {
155 |             DispatchQueue.main.async(execute: captureDevice)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
156 |         }
157 |         queue.async { self.start(configuration) }
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Appy.swift:150:56: warning: capture of 'values' with non-sendable type '[String : Any]' in a '@Sendable' closure
148 |         let captureDevice = { [weak self] in
149 |             let values = Platform.mainThreadDeviceValues()
150 |             self?.queue.async { self?.capturedDevice = values }
    |                                                        `- warning: capture of 'values' with non-sendable type '[String : Any]' in a '@Sendable' closure
151 |         }
152 |         if Thread.isMainThread {
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Appy.swift:150:33: warning: reference to captured var 'self' in concurrently-executing code
148 |         let captureDevice = { [weak self] in
149 |             let values = Platform.mainThreadDeviceValues()
150 |             self?.queue.async { self?.capturedDevice = values }
    |                                 `- warning: reference to captured var 'self' in concurrently-executing code
151 |         }
152 |         if Thread.isMainThread {
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Appy.swift:187:59: warning: capture of 'done' with non-sendable type '() -> Void' in a '@Sendable' closure
185 |         Platform.observeBackground { [weak self] done in
186 |             guard let self else { return done() }
187 |             self.queue.async { self.flushBeforeSuspension(done) }
    |                                                           |- warning: capture of 'done' with non-sendable type '() -> Void' in a '@Sendable' closure
    |                                                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
188 |         }
189 |         let early = earlyURLs
[11/13] Compiling AppySDK Network.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Network.swift:9:52: warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
  6 |
  7 | extension URLSession: AppyTransport {
  8 |     func send(_ request: URLRequest, completion: @escaping (Data?, URLResponse?, Error?) -> Void) {
    |                                      `- note: parameter 'completion' is implicitly non-sendable
  9 |         dataTask(with: request, completionHandler: completion).resume()
    |                                                    `- warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
 10 |     }
 11 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Network.swift:89:43: warning: capture of 'body' with non-sendable type '[String : Any]' in a '@Sendable' closure
 87 |         transport.send(request) { [weak self] data, response, error in
 88 |             self?.queue.async {
 89 |                 self?.finishRequest(path, body, attempt, data, response as? HTTPURLResponse, error, completion)
    |                                           `- warning: capture of 'body' with non-sendable type '[String : Any]' in a '@Sendable' closure
 90 |             }
 91 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Network.swift:89:101: warning: capture of 'completion' with non-sendable type '(Int, [String : Any]?, TimeInterval?) -> Void' (aka '(Int, Optional<Dictionary<String, Any>>, Optional<Double>) -> ()') in a '@Sendable' closure
 87 |         transport.send(request) { [weak self] data, response, error in
 88 |             self?.queue.async {
 89 |                 self?.finishRequest(path, body, attempt, data, response as? HTTPURLResponse, error, completion)
    |                                                                                                     |- warning: capture of 'completion' with non-sendable type '(Int, [String : Any]?, TimeInterval?) -> Void' (aka '(Int, Optional<Dictionary<String, Any>>, Optional<Double>) -> ()') in a '@Sendable' closure
    |                                                                                                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 90 |             }
 91 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Network.swift:89:17: warning: reference to captured var 'self' in concurrently-executing code
 87 |         transport.send(request) { [weak self] data, response, error in
 88 |             self?.queue.async {
 89 |                 self?.finishRequest(path, body, attempt, data, response as? HTTPURLResponse, error, completion)
    |                 `- warning: reference to captured var 'self' in concurrently-executing code
 90 |             }
 91 |         }
[12/13] Compiling AppySDK Delivery.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Delivery.swift:50:36: warning: sending 'newHandler' risks causing data races; this is an error in the Swift 6 language mode
48 |         guard let newHandler, let result = undeliveredResult else { return }
49 |         undeliveredResult = nil
50 |         DispatchQueue.main.async { newHandler(result) }
   |                                    |- warning: sending 'newHandler' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: task-isolated 'newHandler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
51 |     }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Delivery.swift:70:36: warning: sending 'newHandler' risks causing data races; this is an error in the Swift 6 language mode
68 |         guard let newHandler, let attribution = undeliveredAttribution else { return }
69 |         undeliveredAttribution = nil
70 |         DispatchQueue.main.async { newHandler(attribution) }
   |                                    |- warning: sending 'newHandler' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: task-isolated 'newHandler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
71 |     }
72 | }
[13/13] Compiling AppySDK AppyTypes.swift
Build complete! (6.09s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AppySDK",
  "name" : "AppySDK",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AppySDK",
      "targets" : [
        "AppySDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "AppySDKTests",
      "module_type" : "SwiftTarget",
      "name" : "AppySDKTests",
      "path" : "Tests/AppySDKTests",
      "sources" : [
        "AdNetworkTests.swift",
        "DeduplicationTests.swift",
        "DeliveryTests.swift",
        "EmailLinkTests.swift",
        "EventTests.swift",
        "FirstLaunchTests.swift",
        "Harness.swift",
        "NetworkAndLinkTests.swift",
        "OpenTests.swift",
        "PrivacyManifestTests.swift",
        "Support.swift"
      ],
      "target_dependencies" : [
        "AppySDK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppySDK",
      "module_type" : "SwiftTarget",
      "name" : "AppySDK",
      "path" : "Sources/AppySDK",
      "product_memberships" : [
        "AppySDK"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AppySDK/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Appy.swift",
        "AppyTypes.swift",
        "Delivery.swift",
        "EmailLinks.swift",
        "Events.swift",
        "Links.swift",
        "Network.swift",
        "Platform.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.